This file contains 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
type Session struct { | |
Conns []net.Conn | |
} | |
packet | |
timeout timer | |
history | |
onTimeout | |
// ? find another conn(not in history) |
This file contains 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
/* | |
* CTF-2 `vcat5' exploit (template) | |
* | |
* Vasileios P. Kemerlis <vpk@cs.brown.edu> | |
* - CSCI 1951H: Software Security and Exploitation | |
* - https://cs.brown.edu/courses/csci1951-h/ | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> |
This file contains 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
diff --git a/third_party/blink/renderer/bindings/core/v8/v8_dom_configuration.cc b/third_party/blink/renderer/bindings/core/v8/v8_dom_configuration.cc | |
index d84004cd41..739ba61e9f 100644 | |
--- a/third_party/blink/renderer/bindings/core/v8/v8_dom_configuration.cc | |
+++ b/third_party/blink/renderer/bindings/core/v8/v8_dom_configuration.cc | |
@@ -520,7 +520,7 @@ void InstallMethodInternal( | |
if (!WorldConfigurationApplies(config, world)) | |
return; | |
- v8::Local<v8::String> name = config.MethodName(isolate); | |
+ v8::Local<v8::Name> name = config.MethodName(isolate); |
This file contains 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
sudo stap -v -e 'probe kernel.function("tcp_data_queue") { | |
tcphdr = __get_skb_tcphdr($skb); | |
sport = __tcp_skb_sport(tcphdr); | |
if (sport == 34025) { | |
seq = @cast($skb->cb, "tcp_skb_cb")->seq; | |
end_seq = @cast($skb->cb, "tcp_skb_cb")->end_seq; | |
printf("%d %d %d %d\n", sport, seq, end_seq, end_seq - seq); | |
// print_backtrace(); | |
// exit() | |
} |
OlderNewer