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

.NET 

AdiosCloudflare - Bypass cloudflare

Since debug is a dick and wouldn't make his 100% public, I decided to make my own.

Depedencies:
Selenium.WebClient
Selenium.WebDriver.PhantomJS
PhantomJS

Install all of these or it will not work properly.

.dll:
http://www.filedropper.com/adioscloudflare

src:
Code
using OpenQA.Selenium.PhantomJS;
using System;
//By Bender @ HF uid=2960032
namespace AdiosCloudflare
{
    public static class AdiosCloudflare
    {

        public static string downloadCloudflare(string url, string element) {


            var options = new PhantomJSOptions();
            options.AddAdditionalCapability("IsJavaScriptEnabled", true);
            var driver = new PhantomJSDriver();
            driver.Url = url;
            driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(8));
            driver.Navigate();
            var pathElement = driver.FindElementById(element);

            return driver.PageSource;

        }


    }
}

Usage:
Code
AdiosCloudflare.AdiosCloudflare.downloadCloudflare(url, element)

URL is the URL you're trying to bypass, element is the unique ID of the element on the finalized page.

Hope you all find this useful.
For sale message me
why to use dll when we can use code https://hackforums.net/showthread.php?tid=4530083
[Image: bitcoin.png] Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
(Mar 5, 2017 02:52 PM)HFDone Wrote:  why to use dll when we can use code https://hackforums.net/showthread.php?tid=4530083

If you don't even want to reference anything, there are multiple githubs (including mine) that have a PoC project to bypass it.
Thanks for sharing this; will check it out.
This solution just seems too inefficient, and idb.'s one uses MSScriptControl and Regex which also are not the best options to use.

I remember SL x TnT's solution being much more efficient.


(Mar 5, 2017 03:33 PM)SL x TnT Wrote:  If you don't even want to reference anything, there are multiple githubs (including mine) that have a PoC project to bypass it.

Well then share your Github you greedy white cisgender fuck
(Mar 5, 2017 07:44 PM)Ninja Wrote:  This solution just seems too inefficient, and idb.'s one uses MSScriptControl and Regex which also are not the best options to use.

I remember SL x TnT's solution being much more efficient.



Well then share your Github you greedy white cisgender fuck
I'm aware this can be done more efficiently, heck I've been doing .net for only 6 months. But it works well enough for me.
For sale message me
Debug is not a dick because he doesn't want to release his own work for free. Also this isn't really impressive at all, wouldn't it be too slow and clunky with all the references I need to import.
(Mar 5, 2017 08:21 PM)+Haze Wrote:  Debug is not a dick because he doesn't want to release his own work for free. Also this isn't really impressive at all, wouldn't it be too slow and clunky with all the references I need to import.

Agreed.

Also heyyy I haven't seen you posting for a while.
(Mar 5, 2017 07:44 PM)Ninja Wrote:  This solution just seems too inefficient, and idb.'s one uses MSScriptControl and Regex which also are not the best options to use.

I remember SL x TnT's solution being much more efficient.



Well then share your Github you greedy white cisgender fuck

Looks like you don't like me very much.

If you give someone all the answers, they'll never learn how to figure it out themselves. A simple google search will give you github projects for .net, PHP, nodejs, and python right at the top.
Everyone should stop jumping down this guys throat. For me this is the first time I've seen phantomJS put to use in this section and actually running javascript. Well done for not hopping on everyone elses dick and also sharing your knowledge @Bender.
debug https://hackforums.net/showthread.php?tid=5300480
github https://gist.github.com/gubed/6dccfa408b...aa85fd6952
^ using php https://hackforums.net/showthread.php?tid=5295453
^ using api https://hackforums.net/showthread.php?tid=5549547
[Image: bitcoin.png] Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
(Mar 6, 2017 04:25 AM)Cairns Wrote:  Everyone should stop jumping down this guys throat. For me this is the first time I've seen phantomJS put to use in this section and actually running javascript. Well done for not hopping on everyone elses dick and also sharing your knowledge @Bender.
Thanks. As I said before, I'm no expert, but it gets the job done for me.
For sale message me
(Mar 6, 2017 12:58 AM)SL x TnT Wrote:  Looks like you don't like me very much.

If you give someone all the answers, they'll never learn how to figure it out themselves. A simple google search will give you github projects for .net, PHP, nodejs, and python right at the top.

It was sarcasm my dear.

I love you.


(Mar 6, 2017 05:43 AM)Egregious Jr. Wrote:  Thanks. As I said before, I'm no expert, but it gets the job done for me.

That is the problem.

People are no experts, make a weird, inefficient, but barely working solution and release it.

Cloudflare uses cookies. After you wait the period of time in your browser they store cookies in your session so whenever you visit the website again and it recognizes the cookies you don't have to wait. So what you can do is just make it grab the cookies, add those to a webrequest, and you can just use webrequests from then on.
your dll file link is cut please retry upload file

This is vb.net code ;

Imports OpenQA.Selenium.PhantomJS
Imports System

Namespace AdiosCloudflare
Module AdiosCloudflare
Function downloadCloudflare(ByVal url As String, ByVal element As String) As String
Dim options = New PhantomJSOptions()
options.AddAdditionalCapability("IsJavaScriptEnabled", True)
Dim driver = New PhantomJSDriver()
driver.Url = url
driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds(8))
driver.Navigate()
Dim pathElement = driver.FindElementById(element)
Return driver.PageSource
End Function
End Module
End Namespace

Usage :

AdiosCloudflare.AdiosCloudflare.downloadCloudflare(url, element)


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by UKevinJan 17, 2020 01:55 AM 5 272 Jan 17, 2020 01:55 AM
Last Post: SIM-1866423
[.NET] by idb.Jul 26, 2016 06:18 AM 23 3,238 Jul 26, 2016 06:18 AM
Last Post: idb.
[.NET] by debugJun 19, 2016 11:36 PM 16 1,722 Jun 19, 2016 11:36 PM
Last Post: debug