Logo
Explore Help
Register Sign In
admin/TripleCross
1
0
Fork 0
You've already forked TripleCross
mirror of https://github.com/h3xduck/TripleCross.git synced 2025-12-20 00:33:07 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
a1119894cdde009bc1fda1b47a1b57b07bbc9f69
TripleCross/src/constants/constants.h

8 lines
171 B
C
Raw Normal View History

Finished adapting the client. Cleaned the user code and added getopt. The filter fully works now. Next step: return data to userspace via a map.
2021-11-22 20:02:47 -05:00
#ifndef __CONSTANTS_H
#define __CONSTANTS_H
Made it work with an arbitrary length payload. Generalization with constants.h, now the PoC can be used for any shrinking/enlarging value. Discovered a very curious bug
2021-11-27 17:01:10 -05:00
#define SECRET_PACKET_PAYLOAD "XDP_PoC_0"
Further refactored code and dealt with the verifier issues with string comparisons
2021-11-24 12:17:31 -05:00
#define SECRET_PACKET_DEST_PORT 9000
Made it work with an arbitrary length payload. Generalization with constants.h, now the PoC can be used for any shrinking/enlarging value. Discovered a very curious bug
2021-11-27 17:01:10 -05:00
#define SUBSTITUTION_NEW_PAYLOAD "Nope"
Finished adapting the client. Cleaned the user code and added getopt. The filter fully works now. Next step: return data to userspace via a map.
2021-11-22 20:02:47 -05:00
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 66ms Template: 6ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API