JDownloader 2 Offline Captcha solver
JDownloader already solves a lot of captchas on its own, but for some hosts you have to input the result by hand. This tool reduces the list of unsupported hosts.
Using Javascript and YOLO DARKNET neuronal Network to solve captchas!
Supported Hosts:
- keep2share.cc / k2s.cc;
- fileboom.me
- tezfiles.com
- publish2.me
- filejoker.net
Installation Windows
- Download the latest standalone zip: win
- Extract the "JDownloader 2.0" content in your current JD2 folder
- restart JD2 and start downloading
Installation Linux
Precompiled
- Install NodeJS and make sure it's available in your PATH
- Clone this repository
- Copy the "JDownloader 2.0" content into your current JD2 folder (probably
~/.jd
) - Restart JD2 and start downloading
Compile darknet on your own
- Clone this repository
- Download and compile AlexeyAB's fork of darknet
- Copy (and override) the resulting darknet executable to
/JDownloader 2.0/tools/offlineCaptchaSolver/darknet64/darknet
- Install NodeJS and make sure it's available in your PATH
- Copy the "JDownloader 2.0" content into your current JD2 folder (probably
~/.jd
if you installed via flatpack try the path: /home//.var/app/org.jdownloader.JDownloader/data/jdownloader) - Restart JD2 and start downloading
Installation MAC
1. brew install node && brew install cmake && brew install opencv
3. git clone https://github.com/AlexeyAB/darknet
4. cd darknet
5. mkdir build_release
6. cd build_release
7. cmake .. -DENABLE_CUDA=OFF -DOpenCV_DIR=/usr/local/Cellar/opencv/cmake
8. cmake --build . --target install --parallel 8
9. ..
10. vi makefile
- Then edit OPENCV=0 to 1
- You can use nano (as it is very simple) to edit the text file if you are not used to with vi. For that just do:
nano makefile
- edit OPENCV=0 to 1
- press control x
- then y
- then enter
Troubleshoot to see if darknet is working with opencv correctly: cd ~/darknet && ./darknet imtest data/eagle.jpg
12. git clone https://github.com/cracker0dks/CaptchaSolver.git
13. cd ~/CaptchaSolver/JDownloader\ 2.0/tools/offlineCaptchaSolver
14. npm install
Now while you still in this directory in the terminal do this to ensure this files executable: chmod +x filejoker.sh keep2share.cc.sh checkdeps.sh
Check node & npm location by which node
& which npm
(Isn't necessary cause it should be in the same location for everyone who installed it via brew)
Now we'll use this path to the filejoker.sh keep2share.cc.sh checkdeps.sh
Again I'm using vi but obvs u can use nano.
vi keep2share.cc.sh
edit node
to /usr/local/bin/node
vi filejoker.sh
edit node
to /usr/local/bin/node
vi checkdeps.sh
edit npm
to /usr/local/bin/npm
cp -rf ~/darknet/. ~/CaptchaSolver/JDownloader\ 2.0/tools/offlineCaptchaSolver/darknet64
(Copy and merge darknet content to CaptchaSolver)cp -rf ~/CaptchaSolver/JDownloader\ 2.0/. /Applications/JDownloader\ 2.0
(Copy and merge CaptchaSolver content to JDownloader 2 app folder)rm -rf /Users/utsho/CaptchaSolver /Users/utsho/darknet
(Remove the duplicate darknet & CaptchaSolver directory from your user home directory as it'll no longer needed byCaptchaSolver
)
Finally you can open JDownloader app and try to download, if it didn't work in a minute or 2 then stop or disable the specific downloads and start it again. If still it didn't work just see the log file in /Applications/JDownloader\ 2.0/tools/offlineCaptchaSolver/log.txt
Troubleshooting Windows
If it does not work, got into the folder: JDownloader 2.0\tools\offlineCaptchaSolver\darknet64
and open test.bat
. You should see something like this if everthing is ok:
temp.jpg: Predicted in 74.892000 milli-seconds.
e: 99%
h: 74%
C: 100%
Y: 99%
C: 100%
1: 99%
Or an error message.
If you get "msvcr100.dll" is missing, you need to install Microsoft Visual C++ 2010 Service Pack 1
from here: https://www.microsoft.com/en-US/download/details.aspx?id=26999
Deactivate The Captcha Solver for Hosts
This comes in handy, if the host changed the captcha type and you have to deactivate some hosts...
- Go to ...\JDownloader v2.0\jd\captcha\methods\
- Move the folders of the hosts you want to deactivate "keep2share_linux", "keep2share_win" to another save location
- Restart JDownloader 2
To reactivate them, just copy them back in and restart JD2
Supported Types of Captchas
6 Digits Captcha
Doc on how it is solved: HERE
Geometrical Captcha
Doc on how it is solved: HERE
Old captchas (not supported anymore)
Download v1.x to get the code for solving this captchas!
6 Digits Captcha
Doc on how it is solved: HERE
4 Digits Captcha
Doc on how it is solved: HERE
Thanks to Corubba for the linux part on v2.x!