Skip to content

Instantly share code, notes, and snippets.

View Rustypredator's full-sized avatar

Rustypredator Rustypredator

View GitHub Profile
@AgentRev
AgentRev / reorderItemsEdenSQM.py
Last active July 10, 2016 02:07
reorderItemsEdenSQM v1.02
# reorderItemsEdenSQM v1.02
# Made by AgentRev
# Recalculates "Item" and "id" numbers from top to bottom in unbinarized SQM files produced by Arma 3's Eden editor
# For use with "Python Script" plugin (http://npppythonscript.sourceforge.net/) and Notepad++ v6.5.1 & up only
# In order for this script to work:
# - the SQM file must be indented with tabs the same way as originally produced by Eden
# - there must be no spaces on either side of equal signs (=) and semicolons (;) in the SQM file
# - you must click once anywhere inside the targeted SQM right before running the script, for it to run on the correct file
@marcan
marcan / smbloris.c
Last active November 22, 2022 08:32
SMBLoris attack proof of concept
/* SMBLoris attack proof-of-concept
*
* Copyright 2017 Hector Martin "marcan" <marcan@marcan.st>
*
* Licensed under the terms of the 2-clause BSD license.
*
* This is a proof of concept of a publicly disclosed vulnerability.
* Please do not go around randomly DoSing people with it.
*
* Tips: do not use your local IP as source, or if you do, use iptables to block