Last active
August 29, 2015 13:57
-
-
Save dcrystalj/9359894 to your computer and use it in GitHub Desktop.
Forenzika 2014
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd; ../.././../../home # /home | |
cd; cd "echo PWD" # /home/user/echo PWD | |
echo bla2 > bla1 # V datoteki bla1 pise bla2 | |
export PATH=$PATH:~; hello.sh # kako pozenemo ukaz | |
najvecje st s 5 biti: 31 | |
cd ~/..; export HOME=user; cd; cd $HOME/$PWD # /home/user/user/home/user | |
cat bla1 >> bla2; cat bla2 > bla1 # Kaj je v bla1? BarFoo | |
cat bla1 >> bla2; cat bla1 >> bla2 # kaj je v bla1? BarFooFoo | |
cat bla1 > bla2; cat bla1 > bla2 # Kaj je v bla1? Foo | |
echo $PATH izpise /sbin:~: ... # Kako pozenemo route? Odg: samo: route. | |
cd /; cd /etc; export HOME=$PWD; cd~-$PWD; # /etc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment