Skip to content

Instantly share code, notes, and snippets.

View mfcodeworks's full-sized avatar
🗺️
Working Remotely

MF Codeworks mfcodeworks

🗺️
Working Remotely
View GitHub Profile
@mfcodeworks
mfcodeworks / encrypted-storage.js
Last active August 3, 2023 05:08
Encrypted storage with localstorage
// Constants
const passphrase = 'password',
key = 'data',
object = { foo: 'bar' };
// Log original item
console.log('Original object', object);
// Store item with encryption
setItem(key, object, passphrase);
@ViRb3
ViRb3 / OpenVPN Internet Proxy Windows.md
Last active April 18, 2024 16:04
Create an OpenVPN Windows server that proxies internet traffic
Tested on Windows 10 x64, Anniversary Update
17.09.2017

Set up OpenVPN

  1. Set up an OpenVPN connection following this guide

  2. Generate a TA key and place it in the same folder as the other certificates/keys:

@rambabusaravanan
rambabusaravanan / hulk.py
Last active July 13, 2023 21:32
HULK Python Script : Denial-of-Service (DoS) attack
# ----------------------------------------------------------------------------------------------
# HULK - HTTP Unbearable Load King
#
# this tool is a dos tool that is meant to put heavy load on HTTP servers in order to bring them
# to their knees by exhausting the resource pool, its is meant for research purposes only
# and any malicious usage of this tool is prohibited.
#
# author : Barry Shteiman , version 1.0
# ----------------------------------------------------------------------------------------------
import urllib2
@6174
6174 / Random-string
Created July 23, 2013 13:36
Generate a random string in JavaScript In a short and fast way!
//http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript
Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);