Skip to content

Instantly share code, notes, and snippets.

View rhovelz's full-sized avatar
:octocat:
hm?

R rhovelz

:octocat:
hm?
View GitHub Profile

Setup Nessus Professional

Setup from scratch

Check Version

  • sudo /opt/nessus/sbin/nessuscli --version
  • sudo /opt/nessus/sbin/nessuscli fix --reset (Reset if needed)
  • sudo /opt/nessus/sbin/nessuscli fetch --register license code
  • sudo /opt/nessus/sbin/nessusd -R (Update Plugin)
  • sudo systemctl restart nessusd.service

Makepkg Arch

makepkg -Cfsi

  • -C, --cleanbuild Remove $srcdir/ dir before building the package
  • -f, --force Overwrite existing package
  • -s, --syncdeps Install missing dependencies with pacman
  • -i, --install Install package after successful build

Setup gist

  • export PATH=$PATH:/home/rh/.local/share/gem/ruby/3.2.0/bin
  • put export PATH=$PATH:/home/rh/.local/share/gem/ruby/3.2.0/bin to /etc/profile
  • gem install gist
  • gist --login

$ who -u

  • savona pts/1 2019-03-16 09:46 . 6063 (192.168.122.1)

  • stacy pts/0 2019-03-16 17:07 . 9940 (192.168.122.1)

  • echo "Your session will be terminated in 2 minutes for maintenance." | write stacy pts/0

End the Users Shell Process

Setup

  • python -m venv nameofthedir
  • virtualenv nameofthedir
  • source nameofthedir/bin/activate

To deactivate

  • deactivate
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "BlankTime" "0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
EndSection

Deploying Notes

  • bundle install

  • bundle exec .... (update deps)

  • bundle clean --force

  • bundle update ... (update deps)

  • bundle exec jekyll build

  • bundle exec jekyll serve

/set irc.server.libera.autojoin "#gentoo,#gentoo-chat"

/set irc.look.smart_filter on /filter add irc_smart * irc_smart_filter * /filter add joinquit * irc_join,irc_part,irc_quit *

@rhovelz
rhovelz / gist:a61a87810d202502398513ce2b1ef184
Last active January 5, 2023 02:31
some of pentest tools
altdns
amass
awscli
bucket_finder
CloudFlair
commix
dirb
dirsearch
dnsenum
dnsrecon