Skip to content

Instantly share code, notes, and snippets.

View ejrv's full-sized avatar
:shipit:
Nothing is Possible :trollface:

Daniel Hoseini ejrv

:shipit:
Nothing is Possible :trollface:
View GitHub Profile
@FlyTechVideos
FlyTechVideos / generator.sh
Created January 13, 2023 18:37
For use with WSL. Generates all reserved Windows file names (files and folders), zips them, then deletes the intermediary files.
#!/bin/bash
mkdir illegal_files # no -p flag, we don't want to overwrite/delete actual data
cd illegal_files
mkdir -p folders
mkdir -p files
mkdir -p files_with_extension
ILLEGAL_NAMES="CON PRN AUX NUL \
GuestFag: Almost all forkies are guest.
EnderFag: Enderman Malware Lovers
WimFag: Forkie that love to use wim and destroy vm display indeed change display resolution (winscfa)
UnderageFag ??: I dont have any idea why cvm is 13+, what a stupid rule
NewsFag: That person is adult and he love reading bbc news.
@MrHallows
MrHallows / fastboot_help.md
Last active April 23, 2024 04:02
fastboot commands

Command:

$ fastboot help

Output:

usage: fastboot [OPTION...] COMMAND...

flashing:
@MyCatShoegazer
MyCatShoegazer / build.bat
Created February 2, 2018 08:05
Hello World NASM boot loader example.
@echo on
echo Bulding bin file...
nasm loader.asm -f bin -o loader.bin
echo Writing bin file to ploppy
partcopy loader.bin 0 200 -f0
Encoded Traversal Strings:
../
..\
..\/
%2e%2e%2f
%252e%252e%252f
%c0%ae%c0%ae%c0%af
%uff0e%uff0e%u2215
%uff0e%uff0e%u2216