Im bored .. some OPSEC tips
by Azad23 - Friday December 15, 2023 at 10:34 PM
#1
> Get rid of user-agent signature from curl - wget - nmap 

into your `~/.bashrc` or `~/.zshrc` or whatever  slap that in :

export AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,like Gecko) Chrome/87.0.4280.88 Safari/537.36"[/b]
[b]alias curl="curl -A '$AGENT'"[/b]
[b]alias wget="wget -U '$AGENT'"[/b]
[b]alias nmap="nmap --script-args="\"http.useragent='$AGENT'\"[/b]
[b]


(u can use whatever user-agent u want ) 



> little script  to block out your connection  if your vpn fails this is for openvpn , change in base your needs  :

#!/bin/bash[/b]
[b]echo 'Disabling network interfaces...'[/b]
[b]systemctl stop network-manager[/b]
[b]killall -9 dhclient[/b]
[b]for i in $(ifconfig | grep -iEo '^[a-z0-9]+:' | grep -v '^lo:$' | cut -d ':' -f 1)[/b]
[b]do[/b]
[b]ifconfig $i 0.0.0.0 down[/b]
[b]done


openvpn --script-security 2 --down vpn-down.sh --config <OPEN VPN FILE>


(: some basic stuff but can be handy for who do not know
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Latest 2V0-51.23 Exam Question Tips and Strategies johan23 0 139 02-12-2024, 09:53 PM
Last Post: johan23
  Fortinet NSE4_FGT-7.2 Exam Questions - Tips To Pass Your Exam In First Attempt albertarena 0 326 12-19-2023, 10:44 AM
Last Post: albertarena
  Scaled Agile SAFe-SPC Exam Questions - Tips To Pass Your Exam In First Attempt albertarena 0 298 12-14-2023, 09:39 AM
Last Post: albertarena
  Tips to avoid leeching? NotImportant97 6 896 11-07-2023, 01:51 PM
Last Post: DredgenSun
  am bored. anyone wanna do some sillies on hypixel skyblock Asterix 0 557 09-25-2023, 12:51 AM
Last Post: Asterix



 Users browsing this thread: 1 Guest(s)