Advertisement
Guest User

Untitled

a guest
Jan 18th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. javascript: function cs(e) { var t = document.createElement("script"); t.setAttribute("src", e), document.body.appendChild(t) } cs('https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js'); /*div creation*/ var div = '<center><div style="visibility: visible;" id="exframe"></div></center>'; $('body').prepend(div); /*Main Variables*/ var exframe = $('#exframe'); /*functions*/ function create(e) { exframe.append(e); } function tbox(e) { var box = $('#text'); box.val(e); } function contente() { tbox("javascript:document.body.contentEditable = 'true'; document.designMode='on'; void 0"); } function contentr() { tbox("javascript:document.body.contentEditable = 'false'; document.designMode='off'; void 0"); } function mmhackk() { tbox("javascript:document.getElementById('UserUsername').value =\"25shewmwalj\";document.getElementById('UserPassword').value = \"356483\";document.getElementById('signin-btn').click();"); } function imgremove() { tbox("javascript:(function(){ [].slice.call(document.querySelectorAll('img, .gist')).forEach(function(elem) { elem.remove(); }); })();"); } function exploit() { eval($('#text').val()); } /*Button Creation*/ var spacer = "<br>"; var dspacer = "<br><br>"; var style = "border-color:black;border-width:3px;border-radius:15px;background-color:maroon;color:black; box-shadow: 10px 10px 10px maroon"; var contentedit = "<button style="+style+" onclick='contente();'><strong><h2>ContentEditor</h2></strong></button>"; var contentreplace = "<button style="+style+" onclick='contentr();'><strong><h2>ContentReplacer</h2></strong></button>"; var mmhack = "<button style="+style+" onclick='mmhackk();'><strong><h2>MobyMax Hack</h2></strong></button>"; var removeimg = "<button style="+style+" onclick='imgremove();'><strong><h2>Remove Images</h2></strong></button>"; var exbutton = "<button style=\"width:177px;" + style + "\" onclick='exploit();'><strong><h2>Exploit</h2></strong></button><br><br>"; var exbox = "<br><textarea class=\"\" placeholder=\"Input javascript code here.\" rows=\"1\" style=\"border-radius:15px;border-width:10px;background-color:maroon;border-color:black;height:12em;\" id=\"text\"></textarea><br>"; var show = true; create(exbox); create(exbutton); create(contentedit); create(contentreplace); create(spacer); create(removeimg); create(mmhack); /*Key listener*/ document.onkeyup = function(e) { /*Show and hide shortcut*/ if (e.which == 77) { if (show) { show = false; exframe.attr('style', 'visibility: hidden;'); } else { show = true; exframe.attr('style', 'visibility: visible;'); } } };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement