Decode Base64 and ROT13 in Linux Terminal

Below are the commands , to Decode and Encoded text from Base64 and Rot13.
It is a handy and easy technique required in CTFs. Alternatively we can also google and use any website offering decoding of text from these two types. But in terminal we can decode it quickly and save our precious time.

From Base64 we use the function base64 and option -d (for decode).

$ base64 -d data.txt


From ROT13 (also called as rotated 13 times) we use the function tr (for translation). the text must be echo first and piped into tr with two strings as arguments.

$ echo " GUR CNFFJBEQ VF 5GR8L4QETPESPK8HTQJHRK8XSP6X2RHH" |tr '[A-Za-z]' '[N-ZA-Mn-za-m]'




-574r570rm

Wordpress Username Enumeration

 In Wordpress we can do a username enumeration in several ways. We can do it via Metasploit or Nmap NSE Script. But if both of these are not available or we want to use another simpler method, here is one mentioned below.

A Bash Script to enumerate Wordpress usernames.

Copy the below Bash code text into a .sh file.
Change the website to URL to your desired URL.
Change the range of user ids default is 1 to 20.
Then chmod the file to make it executable ( chmod +x filename.sh)(in linux terminal)
and run ./filename.sh.


BASH Code:

 for i in {1..20}; do curl -s -L -i http://www.your-desired-website/?author=$i | grep -E -o "\" title=\"View all posts by [a-z0-9A-Z\-\.]*|Location:.*" | sed 's/\// /g' | cut -f 6 -d ' ' | grep -v "^$"; done





CYB3RTR0N , 574r570rm

Scheduled Skype Message in Python

To send a message on Skype at a scheduled time, you can use the schedule library in Python along with the skype4py library to interact wit...