CounterHack / HolidayHack2020

SANS Holiday Hack Challenge 2020
13 stars 1 forks source link

linux primer bug #2

Open blackhat888 opened 3 years ago

blackhat888 commented 3 years ago

if you type this commend you get a python error. cat * || grep -i "mun" image

chrisjd20 commented 3 years ago

Looks like its the command tripping it up. The problem with using || is its telling bash to use the OR operator. Which causes it to cat all files. (including a large binary file called lollipop_engine. Then if that fails, the grep command will be run.

@blackhat888 I think what you intended to use was cat *.txt | grep -i 'mun' ?

chrisjd20 commented 3 years ago

Also the top panel scans the bottom panel for the appropriate answer so by cat ing the lollipop_engine binary, you spitting a bunch of binary data to your screen that's going to trip up the scanner because it doesn't know how to handle the binary on screen.

chrisjd20 commented 3 years ago

I think we can add some additional fault tolerance to handle these unintended circumstances though, thanks!

blackhat888 commented 3 years ago

I totally agree that i typed the wrong command. It just that if you do it throws that error. Thank you

On Wed, Dec 9, 2020 at 4:03 PM chrisjd20 notifications@github.com wrote:

I think we can add some additional fault tolerance to handle these unintended circumstances though, thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CounterHack/HolidayHack2020/issues/2#issuecomment-742049427, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABH372ZBJWETLJL2HXAWNYTST7Q2XANCNFSM4UUAMLRA .

chrisjd20 commented 3 years ago

@blackhat888 oh ok, I typo stuff all the time! Well thanks for reporting. We are adding some additional fault tolerance for this, thanks!