Skip to content

Instantly share code, notes, and snippets.

@9M2PJU
9M2PJU / offsec.md
Created Feb 25, 2020 — forked from jivoi/offsec.md
Penetrating Testing/Assessment Workflow
View offsec.md

Penetrating Testing/Assessment Workflow & other fun infosec stuff

https://github.com/jivoi/pentest

My feeble attempt to organize (in a somewhat logical fashion) the vast amount of information, tools, resources, tip and tricks surrounding penetration testing, vulnerability assessment, and information security as a whole*

@9M2PJU
9M2PJU / OpenWrt detect new device and send text message.md Detect new network devices connecting to OpenWrt and send text message
View OpenWrt detect new device and send text message.md
@9M2PJU
9M2PJU / renameToHash.sh
Created Mar 4, 2017 — forked from SimplGy/renameToHash.sh
Rename files with a hash based on their contents. eg: `abc.jpg` to `3101ace8db9f.jpg`. Useful for detecting duplicates.
View renameToHash.sh
#!/bin/bash
# TODO: skip tiny files (so small they couldn't be photos)
# TODO: make sure sym links and other file system oddities are handled
# TODO: look at paralellization for perf boost
#
# Constants
#
CHAR_COUNT=12
BLOCK_COUNT=6
@9M2PJU
9M2PJU / sysctl.conf
Created Feb 18, 2017 — forked from jgeiger/sysctl.conf
Tweaked sysctl.conf for ubuntu
View sysctl.conf
#
# /etc/sysctl.conf - Configuration file for setting system variables
# See /etc/sysctl.d/ for additional system variables.
# See sysctl.conf (5) for information.
#
#kernel.domainname = example.com
# Uncomment the following to stop low-level messages on console
#kernel.printk = 3 4 1 3
@9M2PJU
9M2PJU / linux_performance.md
Created Feb 18, 2017 — forked from marianposaceanu/linux_performance.md
Linux simple performance tweaks
View linux_performance.md

Linux simple performance tweaks

Change the I/O Scheduler

Open $ vim /etc/default/grub then add elevator=noop next to GRUB_CMDLINE_LINUX_DEFAULT. Run $ update-grub and $ cat /sys/block/sda/queue/scheduler to be sure that noop is being used:

$ vim /etc/default/grub
$ update-grub
$ cat /sys/block/sda/queue/scheduler
[noop] deadline cfq
@9M2PJU
9M2PJU / ubuntu-install-applications.md
Created Feb 18, 2017
Ubuntu 16.04 configs and apps
View ubuntu-install-applications.md