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

No padding text/lines in /challenge/data.txt #29

Open
RazviOverflow opened this issue Aug 14, 2024 · 2 comments
Open

No padding text/lines in /challenge/data.txt #29

RazviOverflow opened this issue Aug 14, 2024 · 2 comments

Comments

@RazviOverflow
Copy link
Contributor

In Linux Luminarum > Comprehending Commands > grepping for a needle in a haystack, the challenge states:

In this challenge, I've put a hundred thousand lines of text into the /challenge/data.txt file. Grep it for the flag!

However, you can just cat the file since there is no lorem ipsum text at all.

$ ls -laih /challenge/data.txt 
183966333 -rw-r--r-- 1 root root 58 Aug 14 16:26 /challenge/data.txt

Seems like this is not the expected /challenge/data.txt file.

@fpotier
Copy link

fpotier commented Aug 14, 2024

Challenge init command:

( cat /usr/share/dict/american-english; cat /flag ) | sort -R > /challenge/data.txt

The dictionary file doesn't exist anymore

hacker@commands~grepping-for-a-needle-in-a-haystack:~/pwn.college$ ls /usr/share/dict/american-english
ls: cannot access '/usr/share/dict/american-english': No such file or directory

@fpotier
Copy link

fpotier commented Aug 16, 2024

seems to be fixed by pwncollege/dojo@1465cf8

$ wc /challenge/data.txt 
102402 102402 972456 /challenge/data.txt

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