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

s109 drops 500 in report #183

Closed
torabi12 opened this issue Dec 13, 2023 · 12 comments
Closed

s109 drops 500 in report #183

torabi12 opened this issue Dec 13, 2023 · 12 comments
Labels
bug Something isn't working EMBArk

Comments

@torabi12
Copy link

Describe the bug
I did a short scan and "Cracking identified password hashes" menu dropped 500 in the browser. The s109_jtr_local_pw_cracking.html exists in the file system and contains the good password. Only the page is not displayed.

To Reproduce
Steps to reproduce the behavior:

  1. EMBArk installation (default mode)
  2. Start EMBArk: sudo ./run-server.sh
  3. Use the firmware available here: kkeps.bin
  4. Open Cracking identified password hashes menu in detailed view.
  5. See error

Expected behavior
Display page for s109.

Screenshots
kép

Desktop (please complete the following information):

  • OS: Ubuntu Server 22.04.3

Additional context
s109_jtr_local_pw_cracking.txt

@BenediktMKuehne
Copy link
Member

I would guess it's a non utf8 conform byte that causes the issue.

Can you:

  1. Supply me with the actual html-report folder (alternatively, just the html file that's not working)
  2. Check for log errors for a Unicodedecode error

@BenediktMKuehne BenediktMKuehne added bug Something isn't working EMBArk labels Dec 13, 2023
@torabi12
Copy link
Author

torabi12 commented Dec 13, 2023

html-report.zip
emba_run.log

There are more log files, I don't know which one should I check. :(

Lines in emba_run.log with (Bad file descriptor) are very strange because of the huge repetitions. But it is not connecting to http 500 I believe.

@BenediktMKuehne
Copy link
Member

Sorry, /var/www/embark/embark.log

@torabi12
Copy link
Author

embark.log

Yes, UnicodeDecodeError exists more times in the file:(

@BenediktMKuehne
Copy link
Member

Will try to solve this in EMBA directly

@BenediktMKuehne
Copy link
Member

BenediktMKuehne commented Dec 14, 2023

@torabi12 could you provide me with the firmware for testing?

@torabi12
Copy link
Author

torabi12 commented Dec 14, 2023

Please download it from here:

https://drive.google.com/file/d/1jXqPpg_z8ghZG0XPxtx-qtl2Mx_N2FL1/view?usp=sharing

I used Top109Million-probable-v2.txt as jtr_wordlist.txt from here:

https://github.com/berzerk0/Probable-Wordlists/tree/master/Real-Passwords

and I added manually the good password at the end of the file.

This is the password file:

https://drive.google.com/file/d/11q3ARlr9fL4Fh_hqrUFXTfG-xbOw_6oD/view?usp=sharing

You should add the "p9z34c" value at the end and emba will find it, if you would like to reproduce the whole test from my side.

@torabi12
Copy link
Author

It can happen that I used a not supported password file and that caused this issue. I am going to try the same test with a basic password list and let you know the outcome soon.

@torabi12
Copy link
Author

Hmm, I used rockyou.txt with adding the good password to the last line and the s109 cracked it and the page is available:

kép

Looks like I used a not supported password list. :(
I just wanted to have a huge dictionary for better coverage. My last question would be if you could suggest any good and large list it would be great but I will also look for an acceptable one.

@torabi12
Copy link
Author

I tried today and the page is available:

kép

Thank you!

@m-1-k-3
Copy link
Member

m-1-k-3 commented Dec 18, 2023

@BenediktMKuehne good work

@BenediktMKuehne
Copy link
Member

The changes affect only s109 and s99 (jtr and grepit modules)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working EMBArk
Projects
None yet
Development

No branches or pull requests

3 participants