Install and access Cassandra DB on Kali Linux with CLI client

Next up is Cassandra Databases! Source instructions from the developers HERE

pip3 install cassandra-driver
cd /opt/OSINT/
sudo wget
sudo tar -xvf sqlsh-astra.tar.gz
cd cqlsh-astra/bin
sudo chmod +x

Now it is all installed! Here is how you now can access a Cassandra Database!

cd /opt/OSINT/sqlsh-astra
python3 IP PORT

Congrats you’re connected! Now here is how you access the information!

desc keyspaces;

use anyKeyspace;

desc tables;

SELECT * FROM keyspace.tables WHERE keyspace_name = 'keyspace_name';

Leave a Reply