- Slides
- Video
Stuart McMurray:
| #!/bin/bash | |
| # | |
| # core_pattern_escape.sh | |
| # Simple script to escape a container via /proc/sys/kernel/core_pattern | |
| # By J. Stuart McMurray | |
| # Created 20241026 | |
| # Last Modified 20241026 | |
| # Drop to /esc (or whatever name) in a container and... | |
| # |
| // Program dfdemoserver is an HTTP fileserver which allows domain fronting, | |
| // meant for demos. | |
| package main | |
| /* | |
| * dfdemoserver.go | |
| * HTTP fileserver which allows domain fronting | |
| * By J. Stuart McMurray | |
| * Created 20190922 | |
| * Last Modified 20190922 |
| package main | |
| import ( | |
| "crypto/tls" | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "net/http/httputil" | |
| ) |
Stuart McMurray:
| Link to the slides: https://docs.google.com/presentation/d/1D5_68h5EgEYCRDh_gpVRUc22xazUf5s0u7wBK_C8zkQ | |
| Speakers' twitter handles: @fin_ack (Fernando) | |
| @magisterquis (Stuart) | |
| Commands executed during the demo: | |
| ssh -v [email protected] | |
| ps awwwfux | |
| egrep -A1 '^[sudo]{4}' .*history | |
| sudo -l |
| /* | |
| * tapup.c | |
| * Bring up a tap device and discard frames | |
| * By J. Stuart McMurray | |
| * Created 20190911 | |
| * Last Modified 20190911 | |
| */ | |
| #include <linux/if.h> | |
| #include <linux/if_tun.h> |
| package main | |
| import ( | |
| "encoding/base64" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "net/http" | |
| "os" |
| Slides: https://docs.google.com/presentation/d/12dtJwSHpJwMyhCj0-lr8wVHsBCywep3oXtPm50YXHqE/edit?usp=sharing | |
| Packet Checksummer: https://github.com/magisterquis/packetchecksum | |
| Compiling and Running | |
| Source: https://gist.github.com/magisterquis/e98038e833543dcb59173d813d7c35d8 | |
| Asciicast: https://asciinema.org/a/248683 | |
| TelnetWatcher | |
| Source: https://github.com/magisterquis/telnetwatcher | |
| Asciicast: https://asciinema.org/a/248709 | |
| PcapKnock | |
| Source: https://github.com/magisterquis/pcapknock |
| /* | |
| * pcaphelloworld.c | |
| * Simple libpcap program | |
| * By J. Stuart McMurray | |
| * Created 20190527 | |
| * Last Modified 20190527 | |
| */ | |
| #include <arpa/inet.h> |
| /* | |
| * evershell.c | |
| * Little library to spawn a shell | |
| * By J. Stuart McMurray | |
| * Created 20190109 | |
| * Last Modified 20190109 | |
| */ | |
| #include <sys/socket.h> | |
| #include <sys/wait.h> |