Eternal Loop -Misc - only bruteforce

teste.zip is a file of mine, for test.

@andremilke said:
Iā€™m writing a script, but when I use a dictionary with fcrackzip, it has not brought me the password. I do a test, and the result when it finds a password is:

fcrackzip -D -p rockme.txt teste.zip -u -v
found file ā€˜teste.txtā€™, (size cp/uc 17/ 5, flags 1, chk e6b4)

I need to know the password, to implement my script. Someone has the same problem? How to solve?

thx for hint=)

@dispareo said:
I donā€™t remember a teste.zip file in thisā€¦ but you only need to crack the final zip after looping through ā€¦ whatever elseā€¦ is in there beforehand. You can ā€œguessā€ whatever other passwords you need before that.

ā€œGuessā€ as in brute force? Iā€™m having trouble getting past the first password protected zip :confused:

@drtychai said:

@dispareo said:
I donā€™t remember a teste.zip file in thisā€¦ but you only need to crack the final zip after looping through ā€¦ whatever elseā€¦ is in there beforehand. You can ā€œguessā€ whatever other passwords you need before that.

ā€œGuessā€ as in brute force? Iā€™m having trouble getting past the first password protected zip :confused:

Do you mean the very first password protected script, the one you download from hackthebox? You are supposed to open it without guessing. Reread the challenge description

@nns2009

I believe he meant the one after that.

@nns2009 said:

@drtychai said:

@dispareo said:
I donā€™t remember a teste.zip file in thisā€¦ but you only need to crack the final zip after looping through ā€¦ whatever elseā€¦ is in there beforehand. You can ā€œguessā€ whatever other passwords you need before that.

ā€œGuessā€ as in brute force? Iā€™m having trouble getting past the first password protected zip :confused:

Do you mean the very first password protected script, the one you download from hackthebox? You are supposed to open it without guessing. Reread the challenge description

I mean the first one, after you unzip the downloaded chall

@d4rk3r said:
@nns2009

I believe he meant the one after that.

I wanted to believe this tooā€¦

Iā€™m probably overthinking, but what am I supposed to do with the last file? Any help?

@Sanduuz said:
Iā€™m probably overthinking, but what am I supposed to do with the last file?
Nothing special

@nns2009 said:

@Sanduuz said:
Iā€™m probably overthinking, but what am I supposed to do with the last file?
Nothing special

What you mean nothing special? Itā€™s probably that the clock is 2am and my brains donā€™t work. Please help.

Nevermind, I just realized I have a corrupt fileā€¦

Finally, managed to complete it! Thanks for everyone.

Sanduuz can you help me for the last event

@Sanduuz said:
Finally, managed to complete it! Thanks for everyone.

Sanduuz can you help me for the last event

Got hung up on the script loop but finally got it. Fun challenge!

@Sanduuz said:
Nevermind, I just realized I have a corrupt fileā€¦

Quality content and family fun - the HTB forums for when youā€™re feeling down and need someone to make you giggle.

Is this file corrupt? I have downloaded the zip and extracted the contents using the default hackthebox password. However, my fcrack and john doesnā€™t want to handle that file.

sh: 1: Syntax error: EOF in backquote substitution
sh: 1: Syntax error: EOF in backquote substitution
sh: 1: Syntax error: Unterminated quoted string
sh: 1: Syntax error: EOF in backquote substitution
sh: 1: Syntax error: EOF in backquote substitution
sh: 1: Syntax error: EOF in backquote substitution

Did I corrupt my system?

@magnus, John and fcrack are useless here. Start with strings or xxd then use that hint and refer to the challenge name.

Really trying to figure out a way to make this extraction scripted. If anyone is willing to give a little nudge into the right direction, it would be much appreciated. I know a bit about scripting, but not too much yet and I think this can help me learn so much more again :slight_smile:

@SnakeMind said:
Really trying to figure out a way to make this extraction scripted.

I baked something in bash, it isnā€™t pretty but got what I wanted :joy: