Skip to content
↺ Sync · 8d ago RSS Subscribe →
posts 283
cats 119
latest 8d
category

shell/

$ count 16 posts $ subcats 3
# title category date
14
expect -f to change tor identity

#!/usr/bin/expect -f # telnet into tor and get clean path using expect spawn telnet 127.0.0.1 9051 expect "Escape character is '^]'." send "AUTHENTICATE\r" expect "250 OK" send "si…

2010-06-24 1 min
15
Remove all comments and empty lines

Grep will remove all comments and sed will remove all empty lines # grep -v "^#" /etc/squid/squid.conf | sed -e '/^$/d' Same with sed # cat /etc/squid/squid.conf | sed '/ *#/d; /^…

2010-03-18 1 min
16
Protected: Backup Script

Cron: 30 23 * * 5 /root/backup_script backup_script #!/bin/bash FROM="/PROD/" FROMIP="192.168.142.146" TOIP="192.168.142.185" TO="/mirror" BLOG=$TO"/backup.log" function logmsg  {…

2010-03-16 1 min

Trending — all time

view all →

Linked elsewhere

9 bookmarks
CYBERSECURITY
Assessment Templates crfsecure.org ↗
Hack the Logs hackthelogs.com ↗
OpenSOC opensoc.io ↗
PRODUCTIVITY
fastmail.com fastmail.com ↗
hardtime.nvim github.com ↗
jwno (tiling WM) agentkilo.itch.io ↗
Obsidian obsidian.md ↗
REFERENCE
server-world.info www.server-world.info ↗