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

Executable runs very slow, < 1000/s #55

Open
The-Z-Machine opened this issue Jan 22, 2025 · 11 comments
Open

Executable runs very slow, < 1000/s #55

The-Z-Machine opened this issue Jan 22, 2025 · 11 comments

Comments

@The-Z-Machine
Copy link

I am getting sub 1000 attempts/sec. How can I speed it up? I have tried various number of threads, but it doesn't speed up above 1000.

Example:
.___ _____ .__
______ | _// _____||____
____ \ / __ |\ \ __ \ ___
| |> > // | | | | | / | |> >
| /_
| || || || /
|| / |
| 2.0.1

2025-01-22T15:35:05.118Z INFO engine > Starting password cracking job...
⠦ [00:03:35] [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 80000/100000000 0% 857/s ETA: 3d

I have an older laptop. Core i7-6820 at 2.4GHz. w/ 16GB memory.

@WMordy
Copy link

WMordy commented Jan 24, 2025

Using the same setup i reached really more than that can you share the command you are using please ?

@The-Z-Machine
Copy link
Author

Here's the command:

pdfrip -f Andy.pdf -n 8 wordlist rockyou.txt

@The-Z-Machine
Copy link
Author

If I use this command, I get about the same speed:
pdfrip -f Andy.pdf range 00000 99999

If I put a simple password on a PDF, I can get it to work, so I know the cracking attempts are valid and can be successful It's just too slow to be useful for me.

@WMordy
Copy link

WMordy commented Jan 24, 2025

You need to specify the number of cores too. Please try pdfrip -f Andy.pdf -n 8 range 00000 99999. Where 8 is the number of threads. I can see that this information is not mentioned clearly in the ReadMe. You can change the number of threads till you get the maximum OPS.
Edit :
I can see that you added the number of thread there so either your CPU is already at 100% usage or you need to change the number of threads to something close to your CPU logical cores number.

@The-Z-Machine
Copy link
Author

pdfrip -f Andy.pdf -n 8 range 000000 999999
.___ _____ .__
______ | _// _____||____
____ \ / __ |\ \ __ \ ___
| |> > // | | | | | / | |> >
| /_
| || || || /
|| / |
| 2.0.1

2025-01-24T15:24:31.290Z INFO engine > Starting password cracking job...
⠤ [00:00:07] [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 7000/999999 1% 947/s ETA: 17m

Still under 1000/s. There were reports of 50k/sec. Is my processor simply that slow?

@WMordy
Copy link

WMordy commented Jan 24, 2025

Try a bruteforce with default-query instead of wordlist and check the OPS. If the default-query gives much better results this might be a disk issue

@The-Z-Machine
Copy link
Author

No love.

pdfrip -f Andy.pdf -n 8 default-query --max-length 8
.___ _____ .__
______ | _// _____||____
____ \ / __ |\ \ __ \ ___
| |> > // | | | | | / | |> >
| /_
| || || || /
|| / |
| 2.0.1

2025-01-24T15:31:37.949Z INFO engine > Starting password cracking job...
⠓ [00:00:10] [░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 10000/6161234431726256 0% 984/s ETA: 198383y

200k years! That's a long time!

@WMordy
Copy link

WMordy commented Jan 24, 2025

Well the operations per second that matters. This is a CPU issue if your CPU is already at 100% check what other apps are concurring on computing time. I have the same CPU and I got better results this can only means that something is blocking your process from getting all CPU it needs

@The-Z-Machine
Copy link
Author

PDF Rip is taking 72% of CPU, which seems to max out at 75% total. Hmmm, I wonder if I've throttled it for some reason.

@The-Z-Machine
Copy link
Author

maybe I'll restart and try again. I'll look at the BIOS settings.

@WMordy
Copy link

WMordy commented Jan 24, 2025

Okay and try with lower thread numbers i guess this CPU have 4 logical cores so having 8 might be more than needed try with 4 threads too.

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

2 participants