You are currently browsing the tag archive for the ‘scapy’ tag.

Ascultand un podcast, am auzit de o veche problema de securitate a unor Firewall-uri care permiteau access nelimitat setand portul sursa 0. Cum se poate verifica in practica?
Nmap:
nmap -sS -p80 –source-port 0 192.168.178.1
sau:
scapy:
>>ans,unans = sr(IP(dst=”192.168.178.1″)/TCP(sport=0,dport=80),n timeout=0.1)
>>ans.summary()

Si pentru ca scapy + python rock, se poate scana si asa :
>>ans,unans = sr(IP(dst=”192.168.178.1″)/TCP(sport=[0,53],dport=80), timeout=0.1)
>>ans.summary()

Have Fun.

Aprilie 2017
L M M M V S D
« Mar    
 12
3456789
10111213141516
17181920212223
24252627282930