├── .gitattributes ├── .github ├── CODEOWNERS └── workflows │ └── rust.yml ├── .gitignore ├── .snyk ├── Cargo.toml ├── LICENSE.txt ├── README.md ├── cortex.yaml ├── docs ├── README.md ├── arp │ ├── README.md │ └── hrd │ │ └── README.md ├── dhcp │ ├── README.md │ ├── msgtype │ │ └── README.md │ ├── opcode │ │ └── README.md │ └── opt │ │ └── README.md ├── dns │ ├── README.md │ ├── class │ │ └── README.md │ ├── opcode │ │ └── README.md │ ├── qtype │ │ └── README.md │ ├── rcode │ │ └── README.md │ └── rtype │ │ └── README.md ├── erspan1 │ ├── Erspan1.md │ └── README.md ├── erspan2 │ ├── Erspan2.md │ └── README.md ├── eth │ ├── README.md │ └── ethertype │ │ └── README.md ├── gre │ ├── Gre.md │ └── README.md ├── io │ ├── BufIO.md │ └── README.md ├── ipv4 │ ├── IpFrag.md │ ├── README.md │ ├── icmp │ │ ├── Icmp.md │ │ └── README.md │ ├── proto │ │ └── README.md │ ├── tcp │ │ ├── README.md │ │ └── TcpFlow.md │ └── udp │ │ ├── README.md │ │ └── UdpFlow.md ├── netbios │ ├── README.md │ ├── name │ │ └── README.md │ └── ns │ │ ├── README.md │ │ ├── opcode │ │ └── README.md │ │ ├── rcode │ │ └── README.md │ │ └── rrtype │ │ └── README.md ├── std │ └── README.md ├── text │ └── README.md ├── time │ └── README.md ├── tls │ ├── README.md │ ├── cipher │ │ └── README.md │ ├── content │ │ └── README.md │ ├── ext │ │ └── README.md │ ├── handshake │ │ └── README.md │ └── version │ │ └── README.md └── vxlan │ ├── README.md │ └── Vxlan.md ├── example-data └── rsa4096.x509.cert.der ├── examples ├── arg-error.rsyn ├── assignments.rsyn ├── calls.rsyn ├── dhcp.rsyn ├── dns-frag.rsyn ├── dns.rsyn ├── encap-madness.rsyn ├── error-multiple-assign.rsyn ├── erspan.rsyn ├── erspan1.rsyn ├── frag-vlan.rsyn ├── gen.rsyn ├── gre.rsyn ├── http-frag.rsyn ├── http-reorder.rsyn ├── icmp-ping.rsyn ├── import-error.rsyn ├── malleable-amazon.rsyn ├── missing-start.rsyn ├── refs.rsyn ├── rsa4096.x509.cert.der ├── smb2.rsyn ├── ssh.rsyn ├── tls-1_2.rsyn ├── tls.rsyn ├── tlsfrag.rsyn ├── udp-syslog.rsyn ├── vxlan.rsyn └── warning.rsyn ├── extras └── resynth.vim ├── ezpkt ├── Cargo.toml ├── README.md └── src │ ├── dhcp.rs │ ├── erspan1.rs │ ├── erspan2.rs │ ├── gre.rs │ ├── icmp4.rs │ ├── ip4.rs │ ├── lib.rs │ ├── tcp4.rs │ ├── udp4.rs │ └── vxlan.rs ├── pkt ├── Cargo.toml ├── README.md └── src │ ├── arp.rs │ ├── dhcp.rs │ ├── dns.rs │ ├── erspan2.rs │ ├── eth.rs │ ├── gre.rs │ ├── ipv4.rs │ ├── lib.rs │ ├── netbios.rs │ ├── packet.rs │ ├── pcap.rs │ ├── test │ ├── dns.rs │ ├── mod.rs │ └── netbios.rs │ ├── tls.rs │ ├── util.rs │ └── vxlan.rs ├── pre-commit.sh ├── scripts └── tls │ ├── gencode.py │ ├── tls-extensiontype-values-1.csv │ ├── tls-parameters-4.csv │ └── tls-parameters-7.csv └── src ├── args.rs ├── cli.rs ├── err.rs ├── lex.rs ├── lib.rs ├── libapi.rs ├── loc.rs ├── macros.rs ├── object.rs ├── parse.rs ├── program.rs ├── stdlib ├── arp.rs ├── dhcp.rs ├── dns.rs ├── erspan1.rs ├── erspan2.rs ├── eth.rs ├── gre.rs ├── io.rs ├── ipv4 │ ├── icmp.rs │ ├── mod.rs │ ├── tcp.rs │ └── udp.rs ├── mod.rs ├── netbios.rs ├── std.rs ├── test │ ├── dns.rs │ └── mod.rs ├── text.rs ├── time.rs ├── tls.rs └── vxlan.rs ├── str.rs ├── sym.rs ├── test ├── args.rs ├── lex.rs ├── mod.rs ├── object.rs └── str.rs ├── traits.rs └── val.rs /.gitattributes: -------------------------------------------------------------------------------- 1 | *.rsyn linguist-language=rust 2 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/workflows/rust.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/.github/workflows/rust.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /Cargo.lock 3 | .*.swp 4 | -------------------------------------------------------------------------------- /.snyk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/.snyk -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/README.md -------------------------------------------------------------------------------- /cortex.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/cortex.yaml -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/arp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/arp/README.md -------------------------------------------------------------------------------- /docs/arp/hrd/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/arp/hrd/README.md -------------------------------------------------------------------------------- /docs/dhcp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/dhcp/README.md -------------------------------------------------------------------------------- /docs/dhcp/msgtype/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/dhcp/msgtype/README.md -------------------------------------------------------------------------------- /docs/dhcp/opcode/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/dhcp/opcode/README.md -------------------------------------------------------------------------------- /docs/dhcp/opt/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/dhcp/opt/README.md -------------------------------------------------------------------------------- /docs/dns/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/dns/README.md -------------------------------------------------------------------------------- /docs/dns/class/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/dns/class/README.md -------------------------------------------------------------------------------- /docs/dns/opcode/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/dns/opcode/README.md -------------------------------------------------------------------------------- /docs/dns/qtype/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/dns/qtype/README.md -------------------------------------------------------------------------------- /docs/dns/rcode/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/dns/rcode/README.md -------------------------------------------------------------------------------- /docs/dns/rtype/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/dns/rtype/README.md -------------------------------------------------------------------------------- /docs/erspan1/Erspan1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/erspan1/Erspan1.md -------------------------------------------------------------------------------- /docs/erspan1/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/erspan1/README.md -------------------------------------------------------------------------------- /docs/erspan2/Erspan2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/erspan2/Erspan2.md -------------------------------------------------------------------------------- /docs/erspan2/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/erspan2/README.md -------------------------------------------------------------------------------- /docs/eth/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/eth/README.md -------------------------------------------------------------------------------- /docs/eth/ethertype/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/eth/ethertype/README.md -------------------------------------------------------------------------------- /docs/gre/Gre.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/gre/Gre.md -------------------------------------------------------------------------------- /docs/gre/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/gre/README.md -------------------------------------------------------------------------------- /docs/io/BufIO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/io/BufIO.md -------------------------------------------------------------------------------- /docs/io/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/io/README.md -------------------------------------------------------------------------------- /docs/ipv4/IpFrag.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/ipv4/IpFrag.md -------------------------------------------------------------------------------- /docs/ipv4/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/ipv4/README.md -------------------------------------------------------------------------------- /docs/ipv4/icmp/Icmp.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/ipv4/icmp/Icmp.md -------------------------------------------------------------------------------- /docs/ipv4/icmp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/ipv4/icmp/README.md -------------------------------------------------------------------------------- /docs/ipv4/proto/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/ipv4/proto/README.md -------------------------------------------------------------------------------- /docs/ipv4/tcp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/ipv4/tcp/README.md -------------------------------------------------------------------------------- /docs/ipv4/tcp/TcpFlow.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/ipv4/tcp/TcpFlow.md -------------------------------------------------------------------------------- /docs/ipv4/udp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/ipv4/udp/README.md -------------------------------------------------------------------------------- /docs/ipv4/udp/UdpFlow.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/ipv4/udp/UdpFlow.md -------------------------------------------------------------------------------- /docs/netbios/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/netbios/README.md -------------------------------------------------------------------------------- /docs/netbios/name/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/netbios/name/README.md -------------------------------------------------------------------------------- /docs/netbios/ns/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/netbios/ns/README.md -------------------------------------------------------------------------------- /docs/netbios/ns/opcode/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/netbios/ns/opcode/README.md -------------------------------------------------------------------------------- /docs/netbios/ns/rcode/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/netbios/ns/rcode/README.md -------------------------------------------------------------------------------- /docs/netbios/ns/rrtype/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/netbios/ns/rrtype/README.md -------------------------------------------------------------------------------- /docs/std/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/std/README.md -------------------------------------------------------------------------------- /docs/text/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/text/README.md -------------------------------------------------------------------------------- /docs/time/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/time/README.md -------------------------------------------------------------------------------- /docs/tls/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/tls/README.md -------------------------------------------------------------------------------- /docs/tls/cipher/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/tls/cipher/README.md -------------------------------------------------------------------------------- /docs/tls/content/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/tls/content/README.md -------------------------------------------------------------------------------- /docs/tls/ext/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/tls/ext/README.md -------------------------------------------------------------------------------- /docs/tls/handshake/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/tls/handshake/README.md -------------------------------------------------------------------------------- /docs/tls/version/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/tls/version/README.md -------------------------------------------------------------------------------- /docs/vxlan/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/vxlan/README.md -------------------------------------------------------------------------------- /docs/vxlan/Vxlan.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/docs/vxlan/Vxlan.md -------------------------------------------------------------------------------- /example-data/rsa4096.x509.cert.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/example-data/rsa4096.x509.cert.der -------------------------------------------------------------------------------- /examples/arg-error.rsyn: -------------------------------------------------------------------------------- 1 | import dns; 2 | 3 | dns::name("foo", 123); 4 | -------------------------------------------------------------------------------- /examples/assignments.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/assignments.rsyn -------------------------------------------------------------------------------- /examples/calls.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/calls.rsyn -------------------------------------------------------------------------------- /examples/dhcp.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/dhcp.rsyn -------------------------------------------------------------------------------- /examples/dns-frag.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/dns-frag.rsyn -------------------------------------------------------------------------------- /examples/dns.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/dns.rsyn -------------------------------------------------------------------------------- /examples/encap-madness.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/encap-madness.rsyn -------------------------------------------------------------------------------- /examples/error-multiple-assign.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/error-multiple-assign.rsyn -------------------------------------------------------------------------------- /examples/erspan.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/erspan.rsyn -------------------------------------------------------------------------------- /examples/erspan1.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/erspan1.rsyn -------------------------------------------------------------------------------- /examples/frag-vlan.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/frag-vlan.rsyn -------------------------------------------------------------------------------- /examples/gen.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/gen.rsyn -------------------------------------------------------------------------------- /examples/gre.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/gre.rsyn -------------------------------------------------------------------------------- /examples/http-frag.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/http-frag.rsyn -------------------------------------------------------------------------------- /examples/http-reorder.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/http-reorder.rsyn -------------------------------------------------------------------------------- /examples/icmp-ping.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/icmp-ping.rsyn -------------------------------------------------------------------------------- /examples/import-error.rsyn: -------------------------------------------------------------------------------- 1 | import gobbldeygook; 2 | -------------------------------------------------------------------------------- /examples/malleable-amazon.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/malleable-amazon.rsyn -------------------------------------------------------------------------------- /examples/missing-start.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/missing-start.rsyn -------------------------------------------------------------------------------- /examples/refs.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/refs.rsyn -------------------------------------------------------------------------------- /examples/rsa4096.x509.cert.der: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/rsa4096.x509.cert.der -------------------------------------------------------------------------------- /examples/smb2.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/smb2.rsyn -------------------------------------------------------------------------------- /examples/ssh.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/ssh.rsyn -------------------------------------------------------------------------------- /examples/tls-1_2.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/tls-1_2.rsyn -------------------------------------------------------------------------------- /examples/tls.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/tls.rsyn -------------------------------------------------------------------------------- /examples/tlsfrag.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/tlsfrag.rsyn -------------------------------------------------------------------------------- /examples/udp-syslog.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/udp-syslog.rsyn -------------------------------------------------------------------------------- /examples/vxlan.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/vxlan.rsyn -------------------------------------------------------------------------------- /examples/warning.rsyn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/examples/warning.rsyn -------------------------------------------------------------------------------- /extras/resynth.vim: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/extras/resynth.vim -------------------------------------------------------------------------------- /ezpkt/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/ezpkt/Cargo.toml -------------------------------------------------------------------------------- /ezpkt/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/ezpkt/README.md -------------------------------------------------------------------------------- /ezpkt/src/dhcp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/ezpkt/src/dhcp.rs -------------------------------------------------------------------------------- /ezpkt/src/erspan1.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/ezpkt/src/erspan1.rs -------------------------------------------------------------------------------- /ezpkt/src/erspan2.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/ezpkt/src/erspan2.rs -------------------------------------------------------------------------------- /ezpkt/src/gre.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/ezpkt/src/gre.rs -------------------------------------------------------------------------------- /ezpkt/src/icmp4.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/ezpkt/src/icmp4.rs -------------------------------------------------------------------------------- /ezpkt/src/ip4.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/ezpkt/src/ip4.rs -------------------------------------------------------------------------------- /ezpkt/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/ezpkt/src/lib.rs -------------------------------------------------------------------------------- /ezpkt/src/tcp4.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/ezpkt/src/tcp4.rs -------------------------------------------------------------------------------- /ezpkt/src/udp4.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/ezpkt/src/udp4.rs -------------------------------------------------------------------------------- /ezpkt/src/vxlan.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/ezpkt/src/vxlan.rs -------------------------------------------------------------------------------- /pkt/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/Cargo.toml -------------------------------------------------------------------------------- /pkt/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/README.md -------------------------------------------------------------------------------- /pkt/src/arp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/src/arp.rs -------------------------------------------------------------------------------- /pkt/src/dhcp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/src/dhcp.rs -------------------------------------------------------------------------------- /pkt/src/dns.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/src/dns.rs -------------------------------------------------------------------------------- /pkt/src/erspan2.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/src/erspan2.rs -------------------------------------------------------------------------------- /pkt/src/eth.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/src/eth.rs -------------------------------------------------------------------------------- /pkt/src/gre.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/src/gre.rs -------------------------------------------------------------------------------- /pkt/src/ipv4.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/src/ipv4.rs -------------------------------------------------------------------------------- /pkt/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/src/lib.rs -------------------------------------------------------------------------------- /pkt/src/netbios.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/src/netbios.rs -------------------------------------------------------------------------------- /pkt/src/packet.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/src/packet.rs -------------------------------------------------------------------------------- /pkt/src/pcap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/src/pcap.rs -------------------------------------------------------------------------------- /pkt/src/test/dns.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/src/test/dns.rs -------------------------------------------------------------------------------- /pkt/src/test/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/src/test/mod.rs -------------------------------------------------------------------------------- /pkt/src/test/netbios.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/src/test/netbios.rs -------------------------------------------------------------------------------- /pkt/src/tls.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/src/tls.rs -------------------------------------------------------------------------------- /pkt/src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/src/util.rs -------------------------------------------------------------------------------- /pkt/src/vxlan.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pkt/src/vxlan.rs -------------------------------------------------------------------------------- /pre-commit.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/pre-commit.sh -------------------------------------------------------------------------------- /scripts/tls/gencode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/scripts/tls/gencode.py -------------------------------------------------------------------------------- /scripts/tls/tls-extensiontype-values-1.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/scripts/tls/tls-extensiontype-values-1.csv -------------------------------------------------------------------------------- /scripts/tls/tls-parameters-4.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/scripts/tls/tls-parameters-4.csv -------------------------------------------------------------------------------- /scripts/tls/tls-parameters-7.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/scripts/tls/tls-parameters-7.csv -------------------------------------------------------------------------------- /src/args.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/args.rs -------------------------------------------------------------------------------- /src/cli.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/cli.rs -------------------------------------------------------------------------------- /src/err.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/err.rs -------------------------------------------------------------------------------- /src/lex.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/lex.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/libapi.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/libapi.rs -------------------------------------------------------------------------------- /src/loc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/loc.rs -------------------------------------------------------------------------------- /src/macros.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/macros.rs -------------------------------------------------------------------------------- /src/object.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/object.rs -------------------------------------------------------------------------------- /src/parse.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/parse.rs -------------------------------------------------------------------------------- /src/program.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/program.rs -------------------------------------------------------------------------------- /src/stdlib/arp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/arp.rs -------------------------------------------------------------------------------- /src/stdlib/dhcp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/dhcp.rs -------------------------------------------------------------------------------- /src/stdlib/dns.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/dns.rs -------------------------------------------------------------------------------- /src/stdlib/erspan1.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/erspan1.rs -------------------------------------------------------------------------------- /src/stdlib/erspan2.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/erspan2.rs -------------------------------------------------------------------------------- /src/stdlib/eth.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/eth.rs -------------------------------------------------------------------------------- /src/stdlib/gre.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/gre.rs -------------------------------------------------------------------------------- /src/stdlib/io.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/io.rs -------------------------------------------------------------------------------- /src/stdlib/ipv4/icmp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/ipv4/icmp.rs -------------------------------------------------------------------------------- /src/stdlib/ipv4/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/ipv4/mod.rs -------------------------------------------------------------------------------- /src/stdlib/ipv4/tcp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/ipv4/tcp.rs -------------------------------------------------------------------------------- /src/stdlib/ipv4/udp.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/ipv4/udp.rs -------------------------------------------------------------------------------- /src/stdlib/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/mod.rs -------------------------------------------------------------------------------- /src/stdlib/netbios.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/netbios.rs -------------------------------------------------------------------------------- /src/stdlib/std.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/std.rs -------------------------------------------------------------------------------- /src/stdlib/test/dns.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/test/dns.rs -------------------------------------------------------------------------------- /src/stdlib/test/mod.rs: -------------------------------------------------------------------------------- 1 | mod dns; 2 | -------------------------------------------------------------------------------- /src/stdlib/text.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/text.rs -------------------------------------------------------------------------------- /src/stdlib/time.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/time.rs -------------------------------------------------------------------------------- /src/stdlib/tls.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/tls.rs -------------------------------------------------------------------------------- /src/stdlib/vxlan.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/stdlib/vxlan.rs -------------------------------------------------------------------------------- /src/str.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/str.rs -------------------------------------------------------------------------------- /src/sym.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/sym.rs -------------------------------------------------------------------------------- /src/test/args.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/test/args.rs -------------------------------------------------------------------------------- /src/test/lex.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/test/lex.rs -------------------------------------------------------------------------------- /src/test/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/test/mod.rs -------------------------------------------------------------------------------- /src/test/object.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/test/object.rs -------------------------------------------------------------------------------- /src/test/str.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/test/str.rs -------------------------------------------------------------------------------- /src/traits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/traits.rs -------------------------------------------------------------------------------- /src/val.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rapid7/resynth/HEAD/src/val.rs --------------------------------------------------------------------------------