File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- #!/usr/bin/env python2
1+ #!/usr/bin/env python
22#
33# icmpsh - simple icmp command shell (port of icmpsh-m.pl written in
44# Perl by Nico Leidecker <[email protected] >)
Original file line number Diff line number Diff line change 1- #!/usr/bin/env python2
1+ #!/usr/bin/env python
22#
33# icmpsh - simple icmp command shell (port of icmpsh-m.pl written in
44# Perl by Nico Leidecker <[email protected] >) 2222import os
2323import select
2424import socket
25- import subprocess
2625import sys
2726
2827def setNonBlocking (fd ):
@@ -37,7 +36,7 @@ def setNonBlocking(fd):
3736 fcntl .fcntl (fd , fcntl .F_SETFL , flags )
3837
3938def main (src , dst ):
40- if subprocess . mswindows :
39+ if sys . platform == "nt" :
4140 sys .stderr .write ('icmpsh master can only run on Posix systems\n ' )
4241 sys .exit (255 )
4342
Original file line number Diff line number Diff line change 1717from lib .core .enums import OS
1818
1919# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
20- VERSION = "1.3.3.72 "
20+ VERSION = "1.3.3.73 "
2121TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2222TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2323VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
You can’t perform that action at this time.
0 commit comments