This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ---- 0 ---- | |
| A3 = 0x26 | |
| A9 = 0x7000 | |
| ------------- | |
| ---- 1 ---- | |
| A3 = 0x4a | |
| A7 = max(A8, A1) | |
| ------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <sys/socket.h> | |
| #include <sys/types.h> | |
| #include <arpa/inet.h> | |
| #include <unistd.h> | |
| #include <string.h> | |
| #include <pthread.h> | |
| #include <sched.h> | |
| #include <unistd.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import angr | |
| proj = angr.Project('./vuln', auto_load_libs=True) | |
| proj.analyses.CFGFast() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from ubuntu:16.04 | |
| ### SYSTEM SETUP ### | |
| # system environment | |
| #run sed -e 's/archive.ubuntu.com/old-releases.ubuntu.com/g' -i /etc/apt/sources.list | |
| #run sed -e 's/security.ubuntu.com/old-releases.ubuntu.com/g' -i /etc/apt/sources.list | |
| run apt-get update | |
| run dpkg --add-architecture i386 | |
| run apt-get update | |
| run apt-get install libc-dbg libc-dbg:i386 gcc g++ gdb python python-pip locales sudo rubygems xinetd ruby-dev -y |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # prompt | |
| echo "Your passwords will be:" | |
| echo "shadowsock:$1" | |
| echo "kcptun:$2" | |
| read -p "Confirm?(y/n) " -n 1 -r | |
| echo | |
| if [[ ! $REPLY =~ ^[Yy]$ ]] | |
| then | |
| [[ "$0" = "$BASH_SOURCE" ]] && exit 1 || return 1 | |
| fi |