Skip to content

Commit bbf27ec

Browse files
authored
Update console.py
1 parent a68567f commit bbf27ec

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

labtool/console.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ def terminal ():
3232
global ip1
3333
print (Fore.GREEN + "ip =>", prompt[2])
3434
ip1 = prompt[2]
35-
if prompt[1] == 'port':
36-
global port1
37-
print (Fore.GREEN + "port =>", prompt[2])
38-
port1 = prompt[2]
3935
elif prompt[0] == 'use':
4036
global use1
4137
if prompt[1] == 'headerweb':
@@ -50,7 +46,7 @@ def terminal ():
5046
if use1 == 'headerweb':
5147
header.headerweb (ip1)
5248
if use1 == 'scanports':
53-
scanner.scanports(ip1,port1)
49+
scanner.scanports(ip1)
5450
else:
5551
print (Fore.RED + "[*] ERROR")
5652

0 commit comments

Comments
 (0)