Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Urgent]Can't bypass the CF anti-bot protection & get the chapter lists on MD #1699

Open
JokoeSukri opened this issue Mar 10, 2019 · 23 comments

Comments

@JokoeSukri
Copy link

And then, can we bypass the chaptcha ??

@JokoeSukri JokoeSukri changed the title Mangadex Has added CAPTCHA Feature, So download doesn't work anymore [Urgent]Mangadex Has added CAPTCHA Feature, So download doesn't work anymore Mar 10, 2019
@JokoeSukri JokoeSukri changed the title [Urgent]Mangadex Has added CAPTCHA Feature, So download doesn't work anymore [Urgent]Can't bypass the CF anti-bot protection & get the chapter lists on MD Mar 10, 2019
@Nandaka
Copy link

Nandaka commented Mar 10, 2019

Try to login to mangadex from browser and copy the cookie values and paste it in the advanced option.

image

@JokoeSukri
Copy link
Author

@Nandaka
I got the cookies, so how do I input it??
Screenshot_12

@JokoeSukri
Copy link
Author

Nevermind, I got it now

@Tmp341
Copy link
Contributor

Tmp341 commented Mar 11, 2019

Don't forget. If you have fast download speeds, under advanced settings, use low task limits etc.

@Thrieze
Copy link

Thrieze commented Mar 11, 2019

Huh odd, I put in the content of the _cfduid but it doesn't work, how much exactly should go in the cookies area.
Edit: For clarification, I mean, do i put _cfduid then a space then the content, or just the content of it? Or the other cookies as well. I feel like ive tried combos of everything and I must be missing something.

@arbiter9605
Copy link

A little more clarification is needed for rest of us never had to mess with this stuff before.

@TopCat00
Copy link

I put in all the cookies but also had to set the User Agent string to be the same as the browser used to access the site before it would work.

@arbiter9605
Copy link

arbiter9605 commented Mar 11, 2019

i put data in there i pulled from firefox web console using "document.cookie" but not working for me so i must have syntax wrong on something but never had to deal with doing this before hence would like a line showing what to put in which can edit out cookie hash with **** so i can fill in blanks with my data.

According though to MD's site its a ddos attack that triggered the captacha so just waiting in time it should resolve itself.

@Thrieze
Copy link

Thrieze commented Mar 11, 2019

Oh huh, It just worked. I put this into cookies. ignore the asterisks, just a placeholder, its the content of the _cfduid cookie.

__cfduid d8cb64147475e7a978f441ff1*****************

@Caeswen
Copy link

Caeswen commented Mar 17, 2019

Hi there. I don't know if I am doing something wrong and would like some assistance. But I've followed what I think to be the correct way to do this and nothing is showing up. Is what I have done the correct way to do this?
See below image.
help

@Geese1
Copy link

Geese1 commented Mar 17, 2019

I'd like to get some help as well. Mine was working fine up until yesterday without having to do any changes to the advanced settings, but today nothing will work for MangaDex. Checked and saw that they're now requesting a CAPTCHA, so I came here to see if there were any solutions.

I've tried doing everything suggested in this thread, and still no luck. My settings look like the image posted by Caeswen, so I don't know what else to try at this point.

@arbiter9605
Copy link

arbiter9605 commented Mar 17, 2019

MD is under another attack, when attack passes and CF stops freaking out it will start to work again.

edit: its working again now that ddos captcha has calmed down.

@japzone1
Copy link

  1. Go to MangaDex, pass the captcha, and log into your user account
  2. Open your browser's developer tools, go to the Networking tab, refresh the age, then select a random item that appears in the list
  3. Under "Headers", copy the text that comes after "User-Agent:", go to FMD --> Options --> Sites --> Advanced --> MangaDex, then paste the text next to "UserAgent"
  4. Go back to the browser and go to the "Cookies" tab next to "Headers" from before, now copy each cookie into FMD, next to "Cookies", in this format:
_cfduid=XXXXXXXXXXXXXXXXXXXXX; cf_clearance=XXXXXXXXXXXXXXXXXXX; mangadex=XXXXXXXXXXXXXXXXXXXXXXXXXX; mangadex_rememberme_token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; mangadex_session=XXXXXXXXXXXXXXXXXXXXXXXXX
  1. Now in FMD set "Enabled" to True, and set all the "Max-" and "UpdateList-" options to 1.

Now refresh your Favorites to see if it works.

PS: These instructions were made using Firefox. Location of some info might be different in your browser.

@Geese1
Copy link

Geese1 commented Mar 19, 2019

  1. Go to MangaDex, pass the captcha, and log into your user account
  2. Open your browser's developer tools, go to the Networking tab, refresh the age, then select a random item that appears in the list
  3. Under "Headers", copy the text that comes after "User-Agent:", go to FMD --> Options --> Sites --> Advanced --> MangaDex, then paste the text next to "UserAgent"
  4. Go back to the browser and go to the "Cookies" tab next to "Headers" from before, now copy each cookie into FMD, next to "Cookies", in this format:
_cfduid=XXXXXXXXXXXXXXXXXXXXX; cf_clearance=XXXXXXXXXXXXXXXXXXX; mangadex=XXXXXXXXXXXXXXXXXXXXXXXXXX; mangadex_rememberme_token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; mangadex_session=XXXXXXXXXXXXXXXXXXXXXXXXX
  1. Now in FMD set "Enabled" to True, and set all the "Max-" and "UpdateList-" options to 1.

Now refresh your Favorites to see if it works.

PS: These instructions were made using Firefox. Location of some info might be different in your browser.

Thanks for the detailed instructions!

I'm using Chrome, but the directions were the same there as Firefox, so no issues. My problem was I was only using the "__cfduid cookie", and not all the rest of them. I also hadn't changed the "Max" and "UpdateList" options from their default zero, although I'm not sure if that made any difference or not. Anyway, just made the additional changes per your post and now everything works great!

Thanks for all your help!

@japzone1
Copy link

japzone1 commented Mar 19, 2019

Thanks for the detailed instructions!

I'm using Chrome, but the directions were the same there as Firefox, so no issues. My problem was I was only using the "__cfduid cookie", and not all the rest of them. I also hadn't changed the "Max" and "UpdateList" options from their default zero, although I'm not sure if that made any difference or not. Anyway, just made the additional changes per your post and now everything works great!

Thanks for all your help!

Glad it worked.

Setting everything to 1 forces FMD to only make one connection at a time with MangaDex, heavily reducing the possibility of CF flagging it as a bot/DDOS. This slows downloads and how fast your Favorites are checked, but it's better than being IP banned.

PS: You might have to update the cf cookies every day or so, since they expire. You'll know you need to update them when downloads stop working, or Favorites start showing 0 chapters.

@Geese1
Copy link

Geese1 commented Mar 19, 2019

Thanks for the detailed instructions!
I'm using Chrome, but the directions were the same there as Firefox, so no issues. My problem was I was only using the "__cfduid cookie", and not all the rest of them. I also hadn't changed the "Max" and "UpdateList" options from their default zero, although I'm not sure if that made any difference or not. Anyway, just made the additional changes per your post and now everything works great!
Thanks for all your help!

Glad it worked.

Setting everything to 1 forces FMD to only make one connection at a time with MangaDex, heavily reducing the possibility of CF flagging it as a bot/DDOS. This slows downloads and how fast your Favorites are checked, but it's better than being IP banned.

PS: You might have to update the cf cookies every day or so, since they expire. You'll know you need to update them when downloads stop working, or Favorites start showing 0 chapters.

That makes sense. Was wondering why my downloads seemed a bit slower than normal (I'm on a gigabit connection), and thought it was just the MangaDex server being overwhelmed.

As you said though, it's a better option than having to use a VPN (which I've done in the past), which would slow things down even more.

Oh, and thanks for the tip about refreshing the cf cookies if needed. I'll be on the lookout for that.

@arbiter9605
Copy link

Sadly for me doesn't work when ddos captcha is up. I don't see the "mangadex=" one in firefox but does give me it in IE10. Tried doing it using ff, IE10 and chrome so pretty much just stuck waiting til CF ddos protection takes a chill pill.

@japzone1
Copy link

Sadly for me doesn't work when ddos captcha is up. I don't see the "mangadex=" one in firefox but does give me it in IE10. Tried doing it using ff, IE10 and chrome so pretty much just stuck waiting til CF ddos protection takes a chill pill.

Did you follow all my directions exactly? At the very least you should have both of the cf cookies and the Browser's UserAgent copied into FMD. The mangadex cookies don't appear unless you log into an account on MangaDex.

@arbiter9605
Copy link

arbiter9605 commented Mar 20, 2019

"_cfduid=XXXXXXXXXXXXXXXXXXXXX; cf_clearance=XXXXXXXXXXXXXXXXXXX; mangadex=XXXXXXXXXXXXXXXXXXXXXXXXXX; mangadex_rememberme_token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; mangadex_session=XXXXXXXXXXXXXXXXXXXXXXXXX"

Yes i did and Yes i was logged in. the mangadex one i don't see is first one, the rememberme and _session one's show up.

@Geese1
Copy link

Geese1 commented Mar 20, 2019

"_cfduid=XXXXXXXXXXXXXXXXXXXXX; cf_clearance=XXXXXXXXXXXXXXXXXXX; mangadex=XXXXXXXXXXXXXXXXXXXXXXXXXX; mangadex_rememberme_token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; mangadex_session=XXXXXXXXXXXXXXXXXXXXXXXXX"

Yes i did and Yes i was logged in. the mangadex one i don't see is first one, the rememberme and _session one's show up.

Just a head's up, but the "__cfduid" has two underscores in front of it. You typed just one above, so I wasn't sure if you were aware of that. Could possibly make the difference.

@echoPN
Copy link

echoPN commented Mar 20, 2019

Thanks, guys...
This trick works on Kissmanga too...

@Tmp341
Copy link
Contributor

Tmp341 commented Mar 22, 2019

@japzone1 Thank you. I've added your workaround to FAQ

@admiralmikan
Copy link

I almost freak out when suddenly I couldn't download from MD anymore. Tried above info, still didn't work. Turned out I need to add Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36 on User Agent lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests