Skip to content

Instantly share code, notes, and snippets.

View crowell's full-sized avatar
🐢
I may be slow to respond.

Jeffrey Crowell crowell

🐢
I may be slow to respond.
  • Boston, MA
View GitHub Profile
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC9kKIwA5LPRlDDHH5AE28KOBnxImMTgmLO9gllfCvmejZiOd+5rH8u5BcbT6MRaw2J78OmfJml7o1rL6/iHt3dtI0vOuBJl3dDZYqdU7D2OYNFAj66JN549YjlNriZgVPgaG5QFmVW03pdZ3qNLCXQtivrmIvW9vFUzb7YOGKbpqprVfkIpnexH+Rbq74X4Jr1ZS1juoNxw3FMwXSZ0O8NqqDRvHaXquVbtbdHdE7m9gY+CtzQRSellGytgjroHxonDfHzTKAr5yZY0Strf/prXSC6EX+LlkJGPBoFsbdJJgQ/bpGh2cIBBD3zAD1es4ZlWd5RvBjLaOOrqfrqM8Vj jeff@minishwoods
#include <stdio.h>
#include <sqlite3.h>
int main(int argc, char* argv[])
{
sqlite3 *db;
char *zErrMsg = 0;
int rc;
rc = sqlite3_open("test.db", &db);
@crowell
crowell / triage.sh
Last active August 29, 2015 14:13 — forked from allanlw/triage.sh
#!/bin/bash
# Force libc to output fatal errors to stderr instead of
# writing to the terminal directly
export LIBC_FATAL_STDERR_=1
# Should be set as the path to the exploitable binary
EXPLOITABLE=~/exploitable/exploitable/exploitable/exploitable.py
# Ghetto script so -d has to be first
radare2 0.9.9-git @ linux-little-x86-64 git.0.9.8-629-gb87733d
commit: b87733d554d71c20bbe98e3bd9555ba6309807b3 build: 2015-02-02
[ ] 1 anal: a2f cjmp [OK]
[ ] 1 anal: anal/fcn_name [OK]
[ ] 2 anal: anal/fcn_subname [OK]
[ ] 1 anal: ao cjmp [OK]
[ ] 1 anal: reflines offset [OK]
[ ] 2 anal: reflines offset (ascii) [OK]
[ ] 1 anal: axt udis86 [OK]
[ ] 2 anal: axt capstone x86 [OK]
#include <stdio.h>
int main(void) {
printf("안녕\n");
return 0;
}
Braintree|red|0
Quincy Adams|red|0
Quincy Center|red|0
Oak Grove|orange|1
Wonderland|blue|1
Sullivan Square|orange|3
Broadway|red|5
Community College|orange|7
Kendall|red|7
Central Square|red|11
Braintree|red|0
Quincy Adams|red|0
Quincy Center|red|0
Oak Grove|orange|1
Wonderland|blue|1
Sullivan Square|orange|3
Broadway|red|7
Community College|orange|7
Kendall|red|10
Central Square|red|11
Braintree|red|0
Quincy Adams|red|0
Quincy Center|red|0
Oak Grove|orange|2
Wonderland|blue|2
Sullivan Square|orange|4
Broadway|red|8
Community College|orange|8
Central Square|red|11
Kendall|red|12
0000000: 7f45 4c46 0201 0100 0000 0000 0000 0000 .ELF............
0000010: 0200 3e00 0100 0000 c00e 4000 0000 0000 ..>.......@.....
0000020: 4000 0000 0000 0000 8852 0000 0000 0000 @........R......
0000030: 0000 0000 4000 3800 0900 4000 1e00 1b00 ....@.8...@.....
0000040: 0600 0000 0500 0000 4000 0000 0000 0000 ........@.......
0000050: 4000 4000 0000 0000 4000 4000 0000 0000 @.@.....@.@.....
0000060: f801 0000 0000 0000 f801 0000 0000 0000 ................
0000070: 0800 0000 0000 0000 0300 0000 0400 0000 ................
0000080: 3802 0000 0000 0000 3802 4000 0000 0000 8.......8.@.....
0000090: 3802 4000 0000 0000 1c00 0000 0000 0000 8.@.............
0000000: 7f45 4c46 0201 0100 0000 0000 0000 0000 .ELF............
0000010: 0200 3e00 0100 0000 c00e 4000 0000 0000 ..>.......@.....
0000020: 4000 0000 0000 0000 8852 0000 0000 0000 @........R......
0000030: 0000 0000 4000 3800 0900 4000 1e00 1b00 ....@.8...@.....
0000040: 0600 0000 0500 0000 4000 0000 0000 0000 ........@.......
0000050: 4000 4000 0000 0000 4000 4000 0000 0000 @.@.....@.@.....
0000060: f801 0000 0000 0000 f801 0000 0000 0000 ................
0000070: 0800 0000 0000 0000 0300 0000 0400 0000 ................
0000080: 3802 0000 0000 0000 3802 4000 0000 0000 8.......8.@.....
0000090: 3802 4000 0000 0000 1c00 0000 0000 0000 8.@.............