jbou / cloudproxysharp Goto Github PK
View Code? Open in Web Editor NEWCloudProxy .Net / Proxy server to bypass Cloudflare protection
License: MIT License
CloudProxy .Net / Proxy server to bypass Cloudflare protection
License: MIT License
I try to access: https://www.spigotmc.org/resources/hubkick.2/download?version=203285
Console output of CloudProxy:
2020-11-03T22:17:45.832Z INFO REQ-5 Incoming request: POST /v1
2020-11-03T22:17:45.832Z INFO REQ-5 Params: {"cmd":"request.get","url":"https://www.spigotmc.org/?version=203285","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","maxTimeout":60000,"headers":null,"cookies":null}
2020-11-03T22:17:45.833Z DEBUG REQ-5 Launching headless browser...
2020-11-03T22:17:46.225Z DEBUG REQ-5 Using custom UA: Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0
2020-11-03T22:17:46.226Z DEBUG REQ-5 Adding custom headers: {}
2020-11-03T22:17:46.226Z DEBUG REQ-5 { headers: [Function] }
2020-11-03T22:17:46.228Z DEBUG REQ-5 Navegating to... https://www.spigotmc.org/?version=203285
2020-11-03T22:17:46.242Z DEBUG REQ-5 {
headers: {
'upgrade-insecure-requests': '1',
'user-agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0'
}
}
2020-11-03T22:17:47.218Z INFO REQ-5 Cloudflare detected
2020-11-03T22:17:47.258Z INFO REQ-5 Successful response in 1.426 s
The code i use:
public async Task<Stream> GetPluginAsync(string url)
{
ClearanceHandler handler = new ClearanceHandler("http://localhost:8191/")
{
UserAgent = "Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0",
MaxTimeout = 60000
};
HttpClient client = new HttpClient(handler);
Uri uri = new Uri(url);
return await client.GetStreamAsync(uri);
}
The only thing i noticed is that the url i pass to the function "https://www.spigotmc.org/resources/hubkick.2/download?version=203285
" is not the one that is shown in the logs of CloudProxy.
Can you tell me if this is an error with your c# lib or with CloudProxy?
Hi
Just wonder if you can add Proxy support which is merged here NoahCardoza/CloudProxy#44
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.