File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -125,8 +125,12 @@ def main(src, dst):
125125 # Have the IP packet contain the ICMP packet (along with its payload)
126126 ip .contains (icmp )
127127
128- # Send it to the target host
129- sock .sendto (ip .get_packet (), (dst , 0 ))
128+ try :
129+ # Send it to the target host
130+ sock .sendto (ip .get_packet (), (dst , 0 ))
131+ except socket .error , ex :
132+ sys .stderr .write ("'%s'\n " % ex )
133+ sys .stderr .flush ()
130134
131135if __name__ == '__main__' :
132136 if len (sys .argv ) < 3 :
Original file line number Diff line number Diff line change 1919from lib .core .enums import OS
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.2.4.10 "
22+ VERSION = "1.2.4.11 "
2323TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2424TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2525VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ b0eb597c613afeff9d62898cf4c67a56 extra/cloak/cloak.py
55e0911386106b95d2ba4b12d651b2eb16 extra/dbgtool/dbgtool.py
661e5532ede194ac9c083891c2f02bca93 extra/dbgtool/__init__.py
77acba8b5dc93db0fe6b2b04ff0138c33c extra/icmpsh/icmpsh.exe_
8- 2176d964f2d5ba2d871383d6a1868b8f extra/icmpsh/icmpsh_m.py
8+ fe39e5c315d63afff5cb99ec42fc883f extra/icmpsh/icmpsh_m.py
992d020d2bdcee1170805f48839fdb89df extra/icmpsh/__init__.py
10101e5532ede194ac9c083891c2f02bca93 extra/__init__.py
111127629e01ba722271c990ad4b27151917 extra/mssqlsig/update.py
@@ -46,7 +46,7 @@ c9a56e58984420a5abb7a3f7aadc196d lib/core/optiondict.py
46460c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4747a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
4848fcb74fcc9577523524659ec49e2e964b lib/core/session.py
49- 416a9d32cc0b6ee6281e0ec062a4d169 lib/core/settings.py
49+ 4130d34ca6a37e8944dfdf0b94643235 lib/core/settings.py
50500dfc2ed40adf72e302291f6ecd4406f6 lib/core/shell.py
5151a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5252a35efa7bec9f1e6cedf17c9830a79241 lib/core/target.py
You can’t perform that action at this time.
0 commit comments