Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Bypass reverse proxy

Hi everyone,

I am a noob hacker. In my country we have a problem with internet bundles being too expensive. As a result we have resolved to siphoning internet from our ISP.

In my case, as I was browsing my ISP landing page, accessible only when your internet bundle is depleted (z3ro-ra7ed). I saw an ad. Upon further investigation I saw this ad was being shown via an internal server set up by the ISP that is freely accessible to clients.

The catch is that the server has a reverse proxy that filters out certain untrusted sites (unfortunately online learning sites, movie sites, YouTube player *wails). The only way to use this vuln is by entering <desired-site> at the end of the url, ie.

https[:]//vuln-server[.]com/reverse-proxy/www[.]<desired-site>

(I can't post links, yet, forgive the square brackets)

My question is since I can't insert full url, how else can I bypass the reverse proxy to be able to use the internal server 100%
Can't you just do the same and setup a website acting like a reverse proxy?

Code
ISP -> Their reverse proxy -> your own reverse proxy -> youtube.com
or
https://yourisp.com/reverse-proxy/www.mywebsite.net/?url=https://youtube.com/
Thank you very much I will try this and get back to you :D


(Jan 17, 2022 11:32 AM)Beladonis Wrote:  Can't you just do the same and setup a website acting like a reverse proxy?

Code
ISP -> Their reverse proxy -> your own reverse proxy -> youtube

Urhmm sorry Beladonials, but I'm stuck and need further help :(

So I got what you meant about setting up my own proxy server, the problem I have is configuring my site to work as one.

I found an article that I add this php to my webfiles

Code
<?php
if (isset($_GET['url']))
    $url = $_GET['url'];
    $content = file_get_contents(url);
    echo $content;
?>

OR

<?php
$address = "http[:]//target-site";

if(isset($_GET['link']))
{   
    $loc = $_GET['link'];
}
header('Location: '.$address);
?>

Which supposedly would work like:

https[:]//vuln-server[.]com/reverse-proxy/my-site[.]com/file.php?link=youtube[.]com

But doesn't!

Any idea how I could set my site as a proxy? How would you do it, senpai!
Can you try shorting you url with link shortner and place that link over there, example Link bit.ly [WARNING: potentially infected].
(Jan 18, 2022 04:38 AM)nCoXo Wrote:  Can you try shorting you url with link shortner and place that link over there, example Link bit.ly [WARNING: potentially infected].

No can't do, besides link doesn't connect to internet via external clients, you need to be inside the ISP network.

Like have a sim, which I doubt you do. No disrespect.

But this is the format of the link:

hxxps://vuln-site,com/clientless_vpn/reverse-proxy/www,desired-site,com
(Jan 17, 2022 09:30 PM)induna3000 Wrote:  Any idea how I could set my site as a proxy? How would you do it, senpai!


Not sure if this will work with you, but maybe you can try using a site like https://www.proxysite.com/ to proxy straight away. It'll only run websites though, you're stuck in ports 80/443.

You can also search more similar sites on Google if that doesn't work. Try this Google Dork:

Code
intext:proxy "web"
Regards,
Porky
ℒ𝒶𝓊ℊ𝒽𝒾𝓃ℊ 𝒶𝓉 𝓎ℴ𝓊𝓇 𝓈ℯ𝒸𝓊𝓇𝒾𝓉𝓎 𝓈𝒾𝓃𝒸ℯ... ℯ𝓋ℯ𝓇.
(Jan 18, 2022 07:30 PM)linkinpork Wrote:  
Code
intext:proxy "web"

Thank you for this, really help me.

Much appreciated.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by yatzumdpv97Jan 13, 2022 04:24 AM 2 189 Jan 13, 2022 04:24 AM
Last Post: flavoral
by MoPhauxApr 22, 2021 09:04 AM 3 176 Apr 22, 2021 09:04 AM
Last Post: нα¢кєя
by NullJan 18, 2020 05:10 AM 11 325 Jan 18, 2020 05:10 AM
Last Post: Youssef Sherif