-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhelp.py
More file actions
83 lines (67 loc) · 2.01 KB
/
help.py
File metadata and controls
83 lines (67 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!/bin/usr/python
import os
import signal
print " HOME PAGE"
print "PRESS 1 : FOR // INSTALATION MENU"
print "PRESS 2 : FOR // REPOS MENU //"
print "PRESS 3 : FOR // BUFFER OVERFLOW ATTACK"
print "PRESS 4 : FOR // REMOTLOGIN"
print "PRESS 5 : FOR // REMOTLOGIN //"
print "PRESS 6 : FOR // buypassing my sql database passward // "
print "PRESS 7 : FOR // regaining excess at mysql db"
print "PRESS 8 : FOR // restarting the services"
print "PRESS 9 : FOR // for creating code in python 2.7"
print "PRESS 10 : FOR // "
print "PRESS 11 : FOR // "
def sn()
print"ok sir the deal is done"
exit()
signal.signal(3)
x=raw_input(" sn :")
print x
#ADDING NEW REPOS
if x == '2' :
print "For remote login"
print "PRESS 1 : FOR CREATING NEW RESPOS"
print "PRESS 2 : FOR CHECKING REPOLIST"
print "PRESS 3 : FOR EDITING REPOLIST
if x == '1' :
u=raw_input('ENTER THE NAME OF REPO' + U)
if x == '2' :
os.system('yum repolist')# checking repo list
if x == '3':
u=raw_input('ENTER THE NAME OF REPOS' + U)
os.system('vim /etc/yum.respos.d/ + u')
#CHECK THE STATUS OF REPO LIST
if x == '3' :
u=raw_input('For chequing the status of repo')
os.system('yum repolist')
#BUFFER OVERFLOW ATTACK
if x == '4' :
u= raw_input('for buffer over flow attack')
#REMOTLOGIN
if x == '5' :
print "For remote login"
print "PRESS A : remot login using telnet"
print "PRESS B : using ssh"
if x == 'A' :
u=raw_input(' Enter ip address of the victim')
if x == 'B' :
u=raw_input(' Enter ip address of the victim')
#buypassing my sql database passward
if x == '6':
#regaining excess at mysql db
if x == '7':
#by renameing the mysql database name with onthe for buyassing
if x == '8':
# by renaming it by the mysql name again
if x == '9':
print "PRESS A : FOR normal restart"
print "PRESS B : FOR enabled restart"
else : print "BE A MAN TO ANSWER" # USE ECHO COMAND FOR VOICE MESSAGE
print "
if x == '10':
if x == '11':
if x == '12':
else:
print:" U are not a user"