Skip to content

Instantly share code, notes, and snippets.

@itsfarseen
Created August 30, 2021 10:27
Show Gist options
  • Save itsfarseen/af14bdc30cae8dc505179a3fc62c3c10 to your computer and use it in GitHub Desktop.
Save itsfarseen/af14bdc30cae8dc505179a3fc62c3c10 to your computer and use it in GitHub Desktop.
Example of BSNL doing MITM on customers. This is the output of `wget https://pdfkit.org/`
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0"/><style>body{margin:0px;padding:0px;}iframe{width:100%;height:100%}</style><iframe src="http://182.79.218.34:8080/webadmin/deny/index.php?dpid=15&dpruleid=11&cat=107&ttl=0&groupname=-&policyname=-&username=%2d&userip=172.68.155.141&connectionip=127.0.0.1&nsphostname=Chennai-Policy10&protocol=policyprocessor&dplanguage=-&url=http%3a%2f%2f185%2e199%2e108%2e153%2f" width="100%" height="100%" frameborder=0></iframe>
@itsfarseen
Copy link
Author

Update: The above was the output of wget pdfkit.org

Here is the output of wget https://pdfkit.org

<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0"/><style>body{margin:0px;padding:0px;}iframe{width:100%;height:100%}</style><iframe src="https://182.79.218.34:8080/webadmin/deny/index.php?dpid=15&dpruleid=11&cat=107&dplanguage=-&url=http%3a%2f%2f185%2e199%2e108%2e153%2f" width="100%" height="100%" frameborder=0></iframe>

Prettier:

<meta
  name="viewport"
  content="width=device-width,initial-scale=1.0,maximum-scale=1.0"
/><style>
  body {
    margin: 0px;
    padding: 0px;
  }
  iframe {
    width: 100%;
    height: 100%;
  }</style
><iframe
  src="https://182.79.218.34:8080/webadmin/deny/index.php?dpid=15&dpruleid=11&cat=107&dplanguage=-&url=http%3a%2f%2f185%2e199%2e108%2e153%2f"
  width="100%"
  height="100%"
  frameborder="0"
></iframe>

Diff between previous one and this one:

14c14
<   src="http://182.79.218.34:8080/webadmin/deny/index.php?dpid=15&dpruleid=11&cat=107&ttl=0&groupname=-&policyname=-&username=%2d&userip=172.68.155.141&connectionip=127.0.0.1&nsphostname=Chennai-Policy10&protocol=policyprocessor&dplanguage=-&url=http%3a%2f%2f185%2e199%2e108%2e153%2f"
---
>   src="https://182.79.218.34:8080/webadmin/deny/index.php?dpid=15&dpruleid=11&cat=107&dplanguage=-&url=http%3a%2f%2f185%2e199%2e108%2e153%2f"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment