Wunorse Openslae – Stall Mucking Report Cranberry Pi terminal

When you speak to Wunorse Openslae, they explain they had forgotten there a password for the samba share, and they need to upload reports.txt!
Wunorse Openslae explains it could be in memory somewhere “Still, with all the automated tasks we use, I’ll bet there’s a way to find it in memory…”, and the game gives you a link about “Passwords on the command line visible to ps? Not in Linux”

First let’s do a “ps -aux | less”, as this is what the game is hinting.

Lot’s of, umm, stuff? Let’s copy it to notepad making it easy to read!

“sudo -u manager /home/manager/samba-wrapper.sh –verbosity=none –no-check-certificate –extraneous-command-argument –do-not-run-as-tyler –accept-sage-advice -a 42 -d~ –ignore-sw-holiday-special –suppress –suppress //localhost/report-upload/ directreindeerflatterystable -U report-upload”

Interesting, so user wise there is an elf (us), manager and report-upload, we can’t log in with an elf as we don’t know the password and either does Wunorse Openslae, and the manager also requires a password. However, the user report-upload also requires a password (Back, to step one!).

“directreindeerflatterystable” If passwords have taught me anything, anything that seems out of place usually is something we need to try! (Or something like that?)

Well, that worked! Now we need to upload the file!

smbclient //localhost/report-upload/ -U report-upload -w directreindeerflatterystable -c "put report.txt report.txt"

Moreover, that’s how I saved Christmas Wunorse Openslae.

References:
https://blog.rackspace.com/passwords-on-the-command-line-visible-to-ps
https://linux.die.net/man/1/smbclient
https://www.computerhope.com/unix/smbclien.htm

Leave a Comment

Your email address will not be published. Required fields are marked *