Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 015984a

Browse files
committed
Minor patch (drei)
1 parent 9b72545 commit 015984a

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

extra/icmpsh/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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]>)

extra/icmpsh/icmpsh_m.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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]>)
@@ -22,7 +22,6 @@
2222
import os
2323
import select
2424
import socket
25-
import subprocess
2625
import sys
2726

2827
def setNonBlocking(fd):
@@ -37,7 +36,7 @@ def setNonBlocking(fd):
3736
fcntl.fcntl(fd, fcntl.F_SETFL, flags)
3837

3938
def 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

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from 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"
2121
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2222
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2323
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

0 commit comments

Comments
 (0)