impacket
This commit is contained in:
		
							parent
							
								
									6185a5ceaa
								
							
						
					
					
						commit
						710939912c
					
				
					 2 changed files with 36 additions and 0 deletions
				
			
		
							
								
								
									
										19
									
								
								talimatname/genel/i/impacket/talimat
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								talimatname/genel/i/impacket/talimat
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,19 @@
 | 
			
		|||
# Tanım: Ağ protokolleriyle çalışmak için sınıfların toplanması
 | 
			
		||||
# URL: Ağ protokolleriyle çalışmak için sınıfların toplanması
 | 
			
		||||
# Paketçi: Cihan_Alkan
 | 
			
		||||
# Gerekler: python-crypto python-pyasn1 python-pcapy python-openssl
 | 
			
		||||
# Grup: ağ
 | 
			
		||||
 | 
			
		||||
isim=impacket
 | 
			
		||||
surum=0.9.15
 | 
			
		||||
devir=1
 | 
			
		||||
kaynak=(https://github.com/CoreSecurity/impacket/releases/download/impacket_0_9_15/impacket-0.9.15.tar.gz)
 | 
			
		||||
 | 
			
		||||
derle() {
 | 
			
		||||
  cd impacket-0.9.15
 | 
			
		||||
  find . -type f -exec sed -r 's|(#!/usr/bin/(env )?python)$|\12|' -i '{}' \;
 | 
			
		||||
  python setup.py install -O1 --root="${PKG}"
 | 
			
		||||
  install -Dm 644 ChangeLog -t "${PKG}/usr/share/doc/${isim}"
 | 
			
		||||
  local PYTHONVERSION="$(python -c 'import sys; print("{}.{}".format(sys.version_info.major, sys.version_info.minor))')"
 | 
			
		||||
  ln -s "/usr/lib/python${PYTHONVERSION}/site-packages/impacket/examples" "${PKG}/usr/share/doc/${isim}/examples"
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										17
									
								
								talimatname/genel/p/python-pcapy/talimat
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								talimatname/genel/p/python-pcapy/talimat
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,17 @@
 | 
			
		|||
# Tanım: A simplified object-oriented Python wrapper for libpcap
 | 
			
		||||
# URL: https://github.com/CoreSecurity/pcapy
 | 
			
		||||
# Paketçi: milisarge
 | 
			
		||||
# Gerekler: git python-setuptools python libpcap
 | 
			
		||||
# Grup: kütüphane
 | 
			
		||||
 | 
			
		||||
isim=python-pcapy
 | 
			
		||||
surum=git
 | 
			
		||||
devir=1
 | 
			
		||||
kaynak=()
 | 
			
		||||
 | 
			
		||||
derle() {
 | 
			
		||||
	git_indir https://github.com/CoreSecurity/pcapy $isim
 | 
			
		||||
	cd "${SRC}/${isim}"
 | 
			
		||||
	python2 setup.py install --root="$PKG/" --optimize=1
 | 
			
		||||
	install -D -m644 LICENSE "${PKG}/usr/share/licenses/${isim}/LICENSE"
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		
		Reference in a new issue