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
//IPTable rules for capturing ssh packets | |
//sudo iptables -A INPUT -p tcp --dport 22 -j NFQUEUE --queue-num 0 | |
//sudo iptables -A OUTPUT -p tcp --dport 22 -j NFQUEUE --queue-num 0 | |
//sudo iptables -A FORWARD -p tcp --dport 22 -j NFQUEUE --queue-num 0 | |
package main | |
import ( |
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
package glutton | |
import ( | |
"bufio" | |
"bytes" | |
"os/exec" | |
"regexp" | |
) | |
const tcpRegExp = `\[\w+]\s+\w+\s+.+?src=(\d+\.\d+\.\d+\.\d+)\s+dst=(\d+\.\d+\.\d+\.\d+)\s+sport=(\d+)\s+dport=(\d+)\s+` |
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
// ocservFront project main.go | |
package main | |
import ( | |
"bufio" | |
"bytes" | |
"crypto/tls" | |
"fmt" | |
"io" | |
"io/ioutil" |
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
# CySecBooks | |
============ | |
## Repo Content | |
- A Guide to Kernel Exploitation Attacking the Core | |
- Computer Networking A Top-Down Approach | |
- Fuzzing Brute Force Vulnerability Discovery | |
- Gray Hat Python - Python Programming for Hackers and Reverse Engineers (2009) | |
- Hacking - The Art of Exploitation, 2nd Ed. | |
- Metasploit, Penetration Testers Guide |
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
package proxy | |
import ( | |
"io" | |
"log" | |
"net" | |
) | |
func Proxy(srvConn, cliConn *net.TCPConn) { | |
// channels to wait on the close event for each connection |
NewerOlder