Skip to content

Instantly share code, notes, and snippets.

View Methimpact's full-sized avatar

methimpact Methimpact

View GitHub Profile
/~$username/emails/
/$имя_переменной_nginx
/0
/0_
/%00
//0.0.0.0/
//0.0.0.0/'
/000000/projects
//0.0.0.0:3000
//0.0.0.0:8888
@joeycastillo
joeycastillo / book.h
Created October 14, 2019 23:31
Very simple demo for ebook wing
const char * book001 [] =
{"They were raised on small, poor",
"ranches in opposite corners of the",
"state, Jack Twist in Lightning Flat,",
"up on the Montana border, Ennis del",
"Mar from around Sage, near the Utah",
"line, both high-school drop-out",
"country boys with no prospects,",
"brought up to hard work and",
"privation, both rough-mannered,",

Safer-Eval Sandbox Escape POC

safer-eval is a node JS library that supposedly provides a 'safe' way to 'eval' untrusted javascript.

As the maintainer warns in the README:

Warning: The saferEval function may be harmful - so you are warned!

However, it is still used by various libraries to parse/execute untrusted code in such a way that there is an implied

@heywoodlh
heywoodlh / maderas.txt
Created June 19, 2019 15:47
Clone of the arsenal, armory & library by Maderas (@hackermaderas) -- https://pastebin.com/v8Mr2k95
The arsenal, armory & library by Maderas (@hackermaderas, #CyberpunkisNow) 6/8/2019
Original / 1st version here: https://pastebin.com/rMw4WbhX
___________________________________________________________________________________
# Basic knowledge requirements for Red Teaming, PenTesting, Hacking & Cybersecurity
# These are the basic competencies expected (and tested for during the in-person technical interview) by one of the largest, most visible InfoSec companies # on Earth.
@philshem
philshem / clean_AcronymFile.csv
Last active August 10, 2022 05:59
cleanup script and csv file (needs some cleaning) based on https://github.com/krishnakt031990/Crawl-Wiki-For-Acronyms
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 1 column, instead of 2 in line 6.
acronym definition
0D Zero-dimensional
1AM Air mechanic 1st class
1D One-dimensional
2AM Air mechanic 2nd class
2D Two-dimensional
2G Second-generation mobile (cellular, wireless) telephone system
2LA Two letter acronym
2Lt 2nd lieutenant
3AM Air mechanic 3rd class
@freelze
freelze / chrome.css
Last active November 7, 2019 07:43
Firefox chrome.css for auto-hiding tabs ,sidebar, navigator bar, bookmark bar , and using shadowfox. GIF: https://imgur.com/9ym87uj
/* GIF : https://imgur.com/9ym87uj
* From Line 4~147 & Line 332~End are generated by shadowfox
* Line 150~331 are for auto-hiding sidebar, tabs, navigator bar, bookmark bar
*/
:root {
--magenta-50: #ff1ad9;
--magenta-60: #ed00b5;
--magenta-70: #b5007f;
--magenta-80: #7d004f;
--magenta-90: #440027;

The banana pi m1 works with the cheap ~$15 chinese 5 port sata multipliers.

Warning: The multipliers will get really hot and unreliable under load or if more than three drives are attached. Definitely put at least a heatsink on it.

With the official bananian distro it appears to work out of the box but it unfortunately only works with one drive at a time.

To get it working with multiple drives you need to enable the sunxi pmp support. The reason this is not enabled per default is that when it is enabled you will be unable to use the sata port without a port multiplier.

The kernel in the official bananian distro does not have sunxi pmp support compiled into it and the kernel is too old anyway.

@jnturton
jnturton / encrypted-otps.ipynb
Last active May 30, 2018 11:38
A quick look at a modular arithmetic encryption scheme
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fardjad
fardjad / dsl-lte-auto-switch-setup.md
Last active January 17, 2024 16:11
[DSL/LTE Auto-switch Setup] #openwrt #dsl #lte #multiwan

DSL/LTE Auto-switch Setup

Synopsis

This is how I setup my home router to share a 4G/LTE connection at day and switch to a DSL connection overnight.

It also falls back to DSL connection whenever the 4G/LTE connection dies.

Why?

@puhitaku
puhitaku / supervisor
Last active December 29, 2024 16:00
Supervisor init script for OpenWrt (procd).
#!/bin/sh /etc/rc.common
#
# AUTHOR: Takumi Sueda <[email protected]>
#
# Start/stop/restart supervisor in OpenWrt.
START=91
USE_PROCD=0
PROG=/usr/bin/supervisord