Skip to content

Instantly share code, notes, and snippets.

View GuillaumeMorini's full-sized avatar

Guillaume Morini GuillaumeMorini

View GitHub Profile
@GuillaumeMorini
GuillaumeMorini / fcsc2022-forensics-a-l-ancienne.py
Created April 21, 2025 09:44
fcsc2022-forensics-a-l-ancienne
from scapy.all import *
import base64
files={}
scapy_cap = rdpcap('test.pcap')
for packet in scapy_cap:
if packet.haslayer(DNS):
dns_layer = packet[DNS]
if dns_layer.qr == 0 and dns_layer.qd: # It's a query and has a question section
query = dns_layer.qd # Get the question record (usually just one)
try:
@GuillaumeMorini
GuillaumeMorini / fcsc2024-pwn-blind-attack.py
Created January 2, 2025 21:05
Challenge fcsc2024-pwn-blind-attack
import json
import os
from pwn import *
# Set logging level
context.log_level = "DEBUG" # or INFO, WARNING, ERROR
# Load environment variables
# EXTRA is an array of the flagids for current service and team
@GuillaumeMorini
GuillaumeMorini / main.py
Created January 2, 2025 09:38
fcsc2022-misc-a-l-envers
import socket
import re
HOST = "127.0.0.1" # The server's hostname or IP address
PORT = 4000 # The port used by the server
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.connect((HOST, PORT))
data = s.recv(1024)
print("Received",data)

Keybase proof

I hereby claim:

  • I am guillaumemorini on github.
  • I am guillaumemorini (https://keybase.io/guillaumemorini) on keybase.
  • I have a public key ASCtem-_WGt6BDEOPaa2SNhJ1yx8dXxfCeej6zYbuNuU7Qo

To claim this, I am signing this object: