Skip to content

Commit 9ba4ae8

Browse files
author
Abd El-Aziz Khattat
authored
Update PySploit.py
DRY
1 parent fcde358 commit 9ba4ae8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

PySploit.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ def install():
5353
file = open('/bin/pysploit','w')
5454
file.write('cd /etc/pysploit-framework &> /dev/null')
5555
file.write('\npython3 PySploit.py $1 $2 $3 $4')
56-
except PermissionError:
57-
print(red("\n[!]") + green(" You") + " should run command as root\n")
58-
exit()
59-
try:
6056
call('chmod 777 /bin/pysploit', shell=True)
6157
except PermissionError:
6258
print(red("\n[!]") + green(" You") + " should run command as root\n")

0 commit comments

Comments
 (0)