Skip to content
Home » ParrotOS

ParrotOS

Parrot Linux OS Information, How-To’s, Tips, Tools, and Guides

CLEAR COMMAND HISTORY IN LINUX

It is common practice to simply type in commands into a terminal and leave the terminal with never clearing the history. The problem is, if someone accesses your system, they can see everything you have done, which can be an issue.

To check your terminal history, Open a Terminal and type:
history

To clear the History, simply type:
history -c

Now you can check your history again by typing:
history

And you can see it is clear. Do this before you log off your computer every time for good measure

[FIXED] PARROT OS NTP TIME INACTIVE

When you run timedatectl it will show you the current date and time on your Parrot box. You will also see that NTP in inactive. To fix it

sudo timedatectl set-ntp true

Then run

timedatectl

and the correct time will now show

FIX TORSOCKS PERROR ISSUE

In ParrotOS if you install torsocks using apt-get install torsocks, it installs fine, however you cannot run it from the commandline as it has the following error

Error:
PERROR torsocks[2859]: socks5 libc connect: Connection refused (in socks5_connect() at socks5.c:202)

To fix this error do the following

Type:
sudo nano /etc/tor/torsocks.conf

Scroll down to the TorPort line

Change 9050 to 9150

Now it should read
TorPort 9150

Press CTRL + X
Press Y to save

Now you can run torsocks

How to use WGET with TOR through torsocks

Quick how-to on using wget for a .onion site

Once Parrot OS is installed

Open Applications menu at the top left of the screen

Open TOR Launcher

Click Install TOR

Open a terminal

sudo apt-get update

sudo apt-get upgrade

sudo apt-get install torsocks

Once installed, you can navigate to a terminal

Type:
torsocks wget to get the data through the tor network.

Example (change the links with valid ones):
torsocks wget
torsocks wget

SCRAPE DAILY SHORT DATA FROM FINRA

Here is a quick how-to on getting the daily short data. From this I look to see if the short volume has increased or decreased on a particular stock by leveraging a Power BI Dashboard that I had created. This guide is to show the simple command I run to initially scrape all the data

From a Linux box

Open a terminal

Type:
mkdir FINRA
cd FINRA
wget -r -np http://regsho.finra.org/regsho-Index.html

After it downloads the data I run
rm *.html

To remove the additional files that are not relevant, and then I move the data to where I need it

PARROT OS – UNZIP FILES ALONG WITH ZIPPED FILES IN SUBFOLDERS

This is a quick how-to on unzipping files using Parrot Security OS

Open a terminal
Navigate to the directory where the zipped files are
Type
unzip -d filename.zip

If you have a Zipped file that contains sub folders with additional zipped files you can unzip everything by typing
for z in *.zip; do unzip “$z”; done

You’re welcome

ACCESSING .ONION SITES WITHOUT TOR

While TOR is the recommended way to access the dark web, everyone and anyone can still visit without the same level of anonymity. I certainly would suggest using TOR always, however if you need to get to any .onion site from a computer without tor, you can do so by following this:

Open an internet browser (Edge, Firefox, Chrome, etc)
Type in the .onion site (ex. https://protonirockerxow.onion/rc/)
After the .onion portion of the address, add .dog (ex https://protonirockerxow.onion.dog/rc/)
Press Enter
You are now viewing RISEUP’s website on the darkweb, using a regular browser


INSTALL LYNX INTERNET BROWSER PARROT OS

From time to time you will need a browser that is text only. One that can run from a terminal instead of an internet browser. For this solution, we choose to use Lynx, and this guidel will show you how to install lynx on Parrot OS

Open terminal
sudo bash
Enter your password
apt-get install lynx
y
The application installs
To browse from the terminal, type:
lynx tacticalware.com
When you are done browsing and ready to end the session, type:
q to quit
y to confirm

Thanks for Reading!