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
Ban reason: Leeching | https://raidforums.su/Forum-Ban-Appeals if you feel this is incorrect. (Permanent)
Reply
#2
(12-15-2023, 10:34 PM)Azad23 Wrote: > 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 ) 

Nice.

You can even create a script to randomly change the user-agent from a list.

Something like this:

#!/bin/bash # A file with different user agents: AGENTS_FILE="agents.txt" AGENT=$(shuf -n 1 $AGENTS_FILE) export AGENT alias curl="curl -A '$AGENT'" alias wget="wget -U '$AGENT'" alias nmap="nmap --script-args=\"http.useragent='$AGENT'\""
Reply
#3
Many VPN providers have a kill switch built in these days, but still cool to see it done manually with your own script.
Reply
#4
Remove the markup in the code tag nigger
Reply
#5
[h1][b][i]very nice thank you [/i][/b][/h1]
Reply
#6
Thank you for the helpful information!!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  I Need some members for discord channel 77shafina8 1 129 02-05-2026, 05:17 PM
Last Post: Asha_Official
  Air-Forces Jargon - -(maybe some (future) pilots stay on BF Yaddmin 4 1,500 01-08-2026, 09:27 PM
Last Post: flyingdex
  Searching for some friends RedMooned 6 567 08-11-2025, 02:06 AM
Last Post: Miner21
  I'm looking for some files mav. Th3Un1KN0W 0 441 11-10-2024, 08:01 PM
Last Post: Th3Un1KN0W
  Can some one suggest few paranornal discussion area? pokeyMONKD 3 404 06-28-2024, 12:48 PM
Last Post: pokeyMONKD



 Users browsing this thread: