├── hack.sh ├── commands ├── README.md └── hollywood.c /hack.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | clear 3 | while true; do sh -c "$(shuf -n 1 ./commands)" | ./hollywood ; sleep 0.5; done 4 | -------------------------------------------------------------------------------- /commands: -------------------------------------------------------------------------------- 1 | lspci 2 | lsmod 3 | lsusb 4 | ifconfig 5 | dmesg | tail -n 15 6 | dd if=/dev/urandom bs=5k count=1 2>/dev/null | hexdump 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | hollywood-hacker 2 | ================ 3 | 4 | Sometimes you just want to look important and skillful 5 | 6 | 7 | Works best in a Terminal with green font and black background. 8 | 9 | 10 | gcc hollywood.c -o hollywood ; chmod +x hollywood ; chmod +x ./hack.sh ; ./hack.sh 11 | -------------------------------------------------------------------------------- /hollywood.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | int main(void) { 6 | char buf[1]; 7 | int len; 8 | 9 | while ((len = read(STDIN_FILENO, buf, sizeof(buf))) > 0) { 10 | if (write(STDOUT_FILENO, buf, len) != len) { 11 | perror("write"); 12 | return EXIT_FAILURE; 13 | } 14 | usleep(50000); 15 | } 16 | if (len != 0) { 17 | perror("read"); 18 | return EXIT_FAILURE; 19 | } 20 | return EXIT_SUCCESS; 21 | } 22 | --------------------------------------------------------------------------------