Skip to main content

Posts

Showing posts from November, 2023

Install Nessus from docker

The below two commands you need to run first one by one:  docker run -itd --name=ramisec_nessus -p 8834:8834 ramisec/nessus docker exec -it ramisec_nessus /bin/bash /nessus/update.sh Username: admin And you need to change the password: #Enter the command line of the docker container docker exec -it ramisec_nessus bash #Execute the following commands in sequence # Enter this directory cd /opt/nessus/sbin # List logged in users ./nessuscli lsuser # Modify the password of the specified user (take admin as an example) ./nessuscli chpasswd admin After access to the nessus, make sure you turn off the automatic updates otherwise crack will not work after some time. Before any scan you need to run the update.sh command (shown above) to have the latest plugins. Now everytime your system reboots, your docker instance will be shutdown. You need to up it again manually. Here are the commands.  1. docker ps -a    Now note down the container id. 2. docker start <container id> C

How to reverse lookup of an ip

  I have done this in my ubuntu 22.04 machine.  First you need to download the tool that is written in golang. So run the below commands one by one: apt install golang-go go install github.com/hakluke/hakrevdns@latest cd go cd bin chmod +x hakrevdns echo "104.193.143.200" | ./hakrevdns prips "104.193.143.0/24" | ./hakrevdns Avi