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-19 08:13:08 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
99e9fd427746f3dbffc70ff8be3e3c80b5a45e6c
TripleCross/src/common/constants.h

8 lines
206 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
Fixed the client, now the payload shrinking is fully working, also the bug previously found seems to be nothing but an error of mine. Ready to merge!
2021-11-27 19:08:38 -05:00
#define SUBSTITUTION_NEW_PAYLOAD "The previous message has been hidden ;)"
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: 56ms Template: 4ms
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