I hereby claim:
- I am zzzanderw on github.
- I am zzzanderw (https://keybase.io/zzzanderw) on keybase.
- I have a public key whose fingerprint is 93CE 3D82 3135 A7B8 9B5B F860 0229 413C AB53 552E
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| { | |
| "env": { | |
| "es6": true, | |
| "node": true | |
| }, | |
| "extends": "eslint:recommended", | |
| "parserOptions": { | |
| "sourceType": "module" | |
| }, | |
| "rules": { |
| public void RunTcpServer() | |
| { | |
| while (_running) | |
| { | |
| _listener.Start(); | |
| DoBeginAcceptTcpClient(_listener); | |
| _writer = new StreamWriter(_client.GetStream()); | |
| _reader = new StreamReader(_client.GetStream()); | |
| try | |
| { |
| CC = g++ | |
| C_FLAGS = -g -Wall | |
| ifndef num | |
| $(error num is not set. Please re-run make with the argument `num=#`, where # is the assignment #) | |
| endif | |
| ifndef header | |
| all: | |
| $(CC) $(C_FLAGS) -o assignment$(num) assignment$(num).cpp |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| from pwn import * | |
| # define our binary | |
| binary = "/home/user/testbin" | |
| #### Payloads #### | |
| # read in our payload |
| #!/usr/bin/env python | |
| import sys | |
| from pwn import * | |
| REMOTE = "remote" in sys.argv | |
| def get_proc(): | |
| if REMOTE: | |
| return remote("ctf.osusec.org", 10100) |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| void read_in(const char *filename, char **data) { | |
| *data = malloc(sizeof(char) * 203); | |
| FILE *f = fopen(filename, "rb"); | |
| fgets(*data, 203, f); | |
| fclose(f); | |
| } |
I hereby claim:
To claim this, I am signing this object:
| Port 31337 | |
| LogLevel VERBOSE | |
| PermitRootLogin no | |
| PubkeyAuthentication yes | |
| AuthorizedKeysFile .ssh/authorized_keys | |
| HostbasedAuthentication no | |
| IgnoreRhosts yes | |
| PasswordAuthentication no |