forked from D4Vinci/Cr3dOv3r
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebsites.py
171 lines (148 loc) · 5.05 KB
/
websites.py
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
#Written by: Karim shoair - D4Vinci ( Cr3dOv3r )
#Instead of creating many config/text files and parse them I think this better because I'm lazy and it's easier to add new website :D .
#See how to add a website in the repo wiki
#Normal websites (That use one form)
#Facbook data
facebook = { "url":"https://en-gb.facebook.com/login.php" ,
"form":"#login_form",
"e_form":"email" ,
"p_form":"pass" }
#Twitter data
twitter = { "url":"https://mobile.twitter.com/sessions" ,
"form":'form[action="/sessions"]',
"e_form":"session[username_or_email]",
"p_form":"session[password]"}
#Ask.fm data
ask = { "url":"https://ask.fm/login" ,
"form":'form[action="/login"]',
"e_form":"login" ,
"p_form":"password" }
#linkedin
linkedin = { "url":"https://www.linkedin.com/uas/login" ,
"form":'#login',
"e_form":"session_key" ,
"p_form":"session_password" }
#Github
github = { "url":"https://github.com/login" ,
"form":'form[action="/session"]',
"e_form":"login" ,
"p_form":"password" }
'''#Needs to enable JS ? Okay I will mother fucker :D
#Protonmail
protonmail = { "url":"https://mail.protonmail.com/login" ,
"form":'form[action="login"]',
"e_form":"username" ,
"p_form":"password" }
'''
'''#Need to work on
#Udemy
udemy = { "url":"https://www.udemy.com/join/login-popup" ,
"form":'form[action="https://www.udemy.com/join/login-popup"]',
"e_form":"email" ,
"p_form":"password" }
'''
'''#This one needs to work on too
#Dropbox
dropbox = { "url":"https://www.dropbox.com" ,
"form":'form[action="/ajax_login"]',
"e_form":"login_email" ,
"p_form":"login_password" }
'''
'''#Need to work on
#Amazon
amazon = { "url":"https://www.amazon.com/ap/signin?openid.assoc_handle=usflex&openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&openid.mode=checkid_setup&openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0&openid.ns.pape=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Fpape%2F1.0&openid.pape.max_auth_age=0&openid.return_to=https%3A%2F%2Fwww.amazon.com%2F%3F_encoding%3DUTF8%26ref_%3Dnav_ya_signin&switch_account=" ,
"form":'form[action="https://www.amazon.com/ap/signin"]',
"e_form":"email" ,
"p_form":"password" }
'''
#Ebay
ebay = { "url":"https://signin.ebay.com/ws/eBayISAPI.dll" ,
"form":'#SignInForm',
"e_form":"userid" ,
"p_form":"pass" }
#Wikipedia
wikipedia = { "url":"https://en.wikipedia.org/w/index.php?title=Special:UserLogin" ,
"form":'form[action="/wiki/Special:UserLogin"]',
"e_form":"wpName" ,
"p_form":"wpPassword" }
"""
#Another one depends on js :3 (Sorry guys)
#Bitbucket
bitbucket = { "url":"https://bitbucket.org/account/signin" ,
"form":'form[action=""]',
"e_form":"username" ,
"p_form":"password" }
"""
"""
#It's not working I don't know why so let's remove it till I have some time to dig more
#Vimeo
vimeo = { "url":"https://vimeo.com/log_in" ,
"form":'form[class="row cta_form js-login_form login_page-form "]',
"e_form":"email" ,
"p_form":"password" }
"""
#StackOverFlow
stackoverflow = { "url":"https://stackoverflow.com/users/login" ,
"form":'form[id="login-form"]',
"e_form":"email" ,
"p_form":"password" }
#FourSquare
foursquare = { "url":"https://foursquare.com/login" ,
"form":'form[id="loginToFoursquare"]',
"e_form":"emailOrPhone" ,
"p_form":"password" }
#Reddit
reddit = { "url":"https://www.reddit.com/login" ,
"form":'form[action="https://www.reddit.com/post/login"]',
"e_form":"user" ,
"p_form":"passwd" }
#Hotmail
#No it won't work it's .srf !! How stupid I am !!
hotmail = { "url":"https://login.live.com/login.srf" ,"form":'#f1',"e_form":"loginfmt","p_form":"passwd"}
#---------------------------------------------------
#Websites that uses two forms
#Gmail
google = { "url":"https://accounts.google.com/signin" ,
"form1":'form[id="gaia_loginform"]',
"form2":'form[id="gaia_loginform"]',
"e_form":"Email",
"p_form":"Passwd"}
#Yahoo
yahoo = { "url":"https://login.yahoo.com" ,
"form1":'form[id="login-username-form"]',
"form2":'form[class="pure-form pure-form-stacked"]',
"e_form":"username",
"p_form":"password"}
#--------------------------------------
#Websites login with post requests
#MediaFire
mediafire = { "url":"https://www.mediafire.com/dynamic/client_login/mediafire.php" ,
"e_form":"login_email" ,
"p_form":"login_pass",
"verfiy":["login"]#After submitting if this words exist in the response page then login not successful
}
##############################
#### Organizing websites #####
##############################
websites = {"Facebook ":facebook,
" Twitter ":twitter,
" Ask.fm ":ask,
"Linkedin ":linkedin,
" Github ":github,
#"Protonmail":protonmail,
#" Udemy ":udemy,
#" Dropbox ":dropbox,
#" Amazon ":amazon,
"Ebay.com ":ebay,
"Wikipedia":wikipedia,
#"Bitbucket":bitbucket,
#" Vimeo ":vimeo,
" StackOF ":stackoverflow,
"FourSquare":foursquare,
" Reddit ":reddit
}
custom_websites = {"Google":google,
"Yahoo ":yahoo
}
req_websites = { "Mediafire":mediafire
}