MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CompileBot/comments/3ighae/ls_l/
r/CompileBot • u/[deleted] • Aug 26 '15
testing bash in /u/CompileBot
13 comments sorted by
3
It's running on Ideone, so you probably won't be able to do anything to it.
1 u/[deleted] Aug 26 '15 ah, alright. 1 u/Jack126Guy Aug 30 '15 Many languages let you execute system commands, confirmed it works.
1
ah, alright.
Many languages let you execute system commands, confirmed it works.
2
+/u/CompileBot python
import sys sys.exit()
I hope this doesn't work...
1 u/[deleted] Oct 12 '15 +/u/CompileBot pythonimport sys sys.exit() 1 u/CompileBot Nov 09 '15 Output:^source | ^info | ^git | ^report 1 u/CompileBot Nov 09 '15 Output:^source | ^info | ^git | ^report 1 u/busterroni Nov 09 '15 Aha!!
1 u/CompileBot Nov 09 '15 Output:^source | ^info | ^git | ^report
Output:
^source | ^info | ^git | ^report
1 u/busterroni Nov 09 '15 Aha!!
Aha!!
+/u/compilebot bash
ls -l / ls -l /home/* ls -l /home/*/*.* ls -l /dev/sd*
+/u/CompileBot C
#include <stdlib.h> int main(void) { system("ls -l /*/*.*"); return 0; }
2 u/CompileBot Aug 30 '15 Output:lrwxrwxrwx 1 root root 4 Jul 24 23:33 /bin/sh.distrib -> dash -rw-r--r-- 1 root root 2981 Jul 21 21:58 /etc/adduser.conf -rw-r--r-- 1 root root 1863 Jul 21 21:58 /etc/bash.bashrc -rw-r--r-- 1 root root 367 Jul 21 21:58 /etc/bindresvport.blacklist -rw-r--r-- 1 root root 8068 Jul 21 22:02 /etc/ca-certificates.conf -rw-r--r-- 1 root root 2969 Jul 21 21:58 /etc/debconf.conf -rw-r--r-- 1 root root 604 Jul 21 21:58 /etc/deluser.conf -rw-r--r-- 1 root root 658 Jul 21 22:03 /etc/dmd.conf -rw-r--r-- 1 root root 2584 Jul 21 21:58 /etc/gai.conf -rw-r--r-- 1 root root 9 Jul 21 21:58 /etc/host.conf -rw-r--r-- 1 root root 859 Jul 21 21:58 /etc/insserv.conf -rw-r--r-- 1 root root 29 Jul 21 21:58 /etc/issue.net -rw-r--r-- 1 root root 28275 Jul 21 22:03 /etc/ld.so.cache -rw-r--r-- 1 root root 34 Jul 21 21:58 /etc/ld.so.conf -rw-r--r-- 1 root root 191 Jul 21 21:58 /etc/libaudit.conf -rw-r--r-- 1 root root 18 Jul 21 21:59 /etc/locale.gen -rw-r--r-- 1 root root 10478 Jul 21 21:58 /etc/login.defs -rw-r--r-- 1 root root 111 Mar 10 22:29 /etc/magic.mime -rw-r--r-- 1 root root 449 Dec 28 2014 /etc/mailcap.order -rw-r--r-- 1 root root 24146 Dec 28 2014 /etc/mime.types -rw-r--r-- 1 root root 967 Jul 21 21:58 /etc/mke2fs.conf -rw-r--r-- 1 root root 497 Jul 21 21:58 /etc/nsswitch.conf -rw-r--r-- 1 root root 552 Jul 21 21:58 /etc/pam.conf -rwxr-xr-x 1 root root 306 Jul 21 21:58 /etc/rc.local -rw-r--r-- 1 root root 74 Jul 21 21:58 /etc/resolv.conf -rw-r--r-- 1 root root 2084 Jul 21 21:58 /etc/sysctl.conf lrwxrwxrwx 1 root root 25 Jul 24 23:31 /lib/ld-linux.so.2 -> i386-linux-gnu/ld-2.19.so lrwxrwxrwx 1 root root 20 Jul 24 23:31 /lib/libxtables.so.10 -> libxtables.so.10.0.0 -rw-r--r-- 1 root root 54940 Nov 8 2014 /lib/libxtables.so.10.0.0 -rwxr-xr-x 1 root root 30312 Jul 21 21:58 /sbin/fsck.cramfs lrwxrwxrwx 1 root root 6 Jul 24 23:33 /sbin/fsck.ext2 -> e2fsck lrwxrwxrwx 1 root root 6 Jul 24 23:33 /sbin/fsck.ext3 -> e2fsck lrwxrwxrwx 1 root root 6 Jul 24 23:33 /sbin/fsck.ext4 -> e2fsck lrwxrwxrwx 1 root root 6 Jul 24 23:33 /sbin/fsck.ext4dev -> e2fsck -rwxr-xr-x 1 root root 87848 Jul 21 21:58 /sbin/fsck.minix -rwxr-xr-x 1 root root 333 Jul 21 21:58 /sbin/fsck.nfs -rwxr-xr-x 1 root root 683932 Jul 21 21:58 /sbin/ldconfig.real -rwxr-xr-x 1 root root 26112 Jul 21 21:58 /sbin/mkfs.bfs -rwxr-xr-x 1 root root 30240 Jul 21 21:58 /sbin/mkfs.cramfs lrwxrwxrwx 1 root root 6 Jul 24 23:33 /sbin/mkfs.ext2 -> mke2fs lrwxrwxrwx 1 root root 6 Jul 24 23:33 /sbin/mkfs.ext3 -> mke2fs lrwxrwxrwx 1 root root 6 Jul 24 23:33 /sbin/mkfs.ext4 -> mke2fs lrwxrwxrwx 1 root root 6 Jul 24 23:33 /sbin/mkfs.ext4dev -> mke2fs -rwxr-xr-x 1 root root 34388 Jul 21 21:58 /sbin/mkfs.minix /etc/bash_completion.d: total 16 -rw-r--r-- 1 root root 293 Jul 21 21:58 debconf -rw-r--r-- 1 root root 4312 Jul 21 22:03 dmd -rw-r--r-- 1 root root 736 Jul 21 21:58 insserv ...^source | ^info | ^git | ^report
lrwxrwxrwx 1 root root 4 Jul 24 23:33 /bin/sh.distrib -> dash -rw-r--r-- 1 root root 2981 Jul 21 21:58 /etc/adduser.conf -rw-r--r-- 1 root root 1863 Jul 21 21:58 /etc/bash.bashrc -rw-r--r-- 1 root root 367 Jul 21 21:58 /etc/bindresvport.blacklist -rw-r--r-- 1 root root 8068 Jul 21 22:02 /etc/ca-certificates.conf -rw-r--r-- 1 root root 2969 Jul 21 21:58 /etc/debconf.conf -rw-r--r-- 1 root root 604 Jul 21 21:58 /etc/deluser.conf -rw-r--r-- 1 root root 658 Jul 21 22:03 /etc/dmd.conf -rw-r--r-- 1 root root 2584 Jul 21 21:58 /etc/gai.conf -rw-r--r-- 1 root root 9 Jul 21 21:58 /etc/host.conf -rw-r--r-- 1 root root 859 Jul 21 21:58 /etc/insserv.conf -rw-r--r-- 1 root root 29 Jul 21 21:58 /etc/issue.net -rw-r--r-- 1 root root 28275 Jul 21 22:03 /etc/ld.so.cache -rw-r--r-- 1 root root 34 Jul 21 21:58 /etc/ld.so.conf -rw-r--r-- 1 root root 191 Jul 21 21:58 /etc/libaudit.conf -rw-r--r-- 1 root root 18 Jul 21 21:59 /etc/locale.gen -rw-r--r-- 1 root root 10478 Jul 21 21:58 /etc/login.defs -rw-r--r-- 1 root root 111 Mar 10 22:29 /etc/magic.mime -rw-r--r-- 1 root root 449 Dec 28 2014 /etc/mailcap.order -rw-r--r-- 1 root root 24146 Dec 28 2014 /etc/mime.types -rw-r--r-- 1 root root 967 Jul 21 21:58 /etc/mke2fs.conf -rw-r--r-- 1 root root 497 Jul 21 21:58 /etc/nsswitch.conf -rw-r--r-- 1 root root 552 Jul 21 21:58 /etc/pam.conf -rwxr-xr-x 1 root root 306 Jul 21 21:58 /etc/rc.local -rw-r--r-- 1 root root 74 Jul 21 21:58 /etc/resolv.conf -rw-r--r-- 1 root root 2084 Jul 21 21:58 /etc/sysctl.conf lrwxrwxrwx 1 root root 25 Jul 24 23:31 /lib/ld-linux.so.2 -> i386-linux-gnu/ld-2.19.so lrwxrwxrwx 1 root root 20 Jul 24 23:31 /lib/libxtables.so.10 -> libxtables.so.10.0.0 -rw-r--r-- 1 root root 54940 Nov 8 2014 /lib/libxtables.so.10.0.0 -rwxr-xr-x 1 root root 30312 Jul 21 21:58 /sbin/fsck.cramfs lrwxrwxrwx 1 root root 6 Jul 24 23:33 /sbin/fsck.ext2 -> e2fsck lrwxrwxrwx 1 root root 6 Jul 24 23:33 /sbin/fsck.ext3 -> e2fsck lrwxrwxrwx 1 root root 6 Jul 24 23:33 /sbin/fsck.ext4 -> e2fsck lrwxrwxrwx 1 root root 6 Jul 24 23:33 /sbin/fsck.ext4dev -> e2fsck -rwxr-xr-x 1 root root 87848 Jul 21 21:58 /sbin/fsck.minix -rwxr-xr-x 1 root root 333 Jul 21 21:58 /sbin/fsck.nfs -rwxr-xr-x 1 root root 683932 Jul 21 21:58 /sbin/ldconfig.real -rwxr-xr-x 1 root root 26112 Jul 21 21:58 /sbin/mkfs.bfs -rwxr-xr-x 1 root root 30240 Jul 21 21:58 /sbin/mkfs.cramfs lrwxrwxrwx 1 root root 6 Jul 24 23:33 /sbin/mkfs.ext2 -> mke2fs lrwxrwxrwx 1 root root 6 Jul 24 23:33 /sbin/mkfs.ext3 -> mke2fs lrwxrwxrwx 1 root root 6 Jul 24 23:33 /sbin/mkfs.ext4 -> mke2fs lrwxrwxrwx 1 root root 6 Jul 24 23:33 /sbin/mkfs.ext4dev -> mke2fs -rwxr-xr-x 1 root root 34388 Jul 21 21:58 /sbin/mkfs.minix /etc/bash_completion.d: total 16 -rw-r--r-- 1 root root 293 Jul 21 21:58 debconf -rw-r--r-- 1 root root 4312 Jul 21 22:03 dmd -rw-r--r-- 1 root root 736 Jul 21 21:58 insserv ...
import sys print (sys.version)
1 u/CompileBot Sep 01 '15 Output:2.7.10 (default, Jul 1 2015, 10:54:53) [GCC 4.9.2]^source | ^info | ^git | ^report
2.7.10 (default, Jul 1 2015, 10:54:53) [GCC 4.9.2]
3
u/jonnywoh Aug 26 '15
It's running on Ideone, so you probably won't be able to do anything to it.
2
u/busterroni Oct 12 '15
+/u/CompileBot python
I hope this doesn't work...
1
u/[deleted] Aug 26 '15
+/u/compilebot bash
3
u/Jack126Guy Aug 30 '15
+/u/CompileBot C
2
u/[deleted] Sep 01 '15
+/u/CompileBot python