weclome to ic0de.ws Check here


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Install] Parrtosec on cloud without liveimage
#1
[Image: Ye2bHHK.gif]

Table of contents

installing parrotsec on digital ocean
- Running updates
- Installing gpg packages
- modifying sources.list
- veriying gpg keys 
- installing keyring 
- searching cache
- running parrotsec installer
- after installation
- fixing common debain bugs
- final  thoughts

updating your current packages to newest versions

Code:
apt-get update

Debain doesnt have gpg packages installed by default installing them

Code:
apt-get install gpg gnupg1 gnupg2

making a backup of  source.list to current working directory 

Code:
cp -r /etc/apt/sources.list source.list.bck

adding parrotsec repository to /etc/apt/sources.list

Code:
echo -e "deb https://mirror.parrotsec.org/parrot rolling main contrib non-free" > /etc/apt/sources.list

adding gpg keys to verify remote mirror read more about APT-secure


[Image: 39426ef935c60a16bb61cd5919e6c877.png]
 
Code:
wget -q -O - https://deb.parrotsec.org/parrot/misc/parrotsec.gpg | apt-key add -

  installing keyring

Code:
apt-get install parrot-archive-keyring

searching the cache to see what packages can be installed

Code:
apt-cache search parrot

output of packages can be installed

Code:
anonsurf - AnonSurf
apt-parrot - Parrot APT repositories
base-files - Debian/Parrot base system miscellaneous files
parrot-cinnamon - CINNAMON based Parrot destop
parrot-lxde - LXDE based Parrot destop
parrot-mate - Parrot interface metapackage
parrot-menu - Parrot GNU/Linux custom menu
parrot-menu-dbgsym - debug symbols for parrot-menu
parrot-meta-all - Parrot Security - all packages
parrot-meta-automotive - Parrot Security automotive tools
parrot-meta-forensics - Parrot Securiy forensic tools
parrot-meta-full - Parrot Security complete system
parrot-meta-gpu - Parrot Security GPU tools
parrot-meta-pwtools - Parrot Security password cracking tools
parrot-meta-rfid - Parrot Security RFID tools
parrot-meta-sdr - Parrot Security SDR tools
parrot-meta-voip - Parrot Security VoIP tools
parrot-meta-web - Parrot Security webapp assessment tools
parrot-meta-wireless - Parrot Security wireless tools
parrot-mini - Tools selection for Parrot Mini
parrot-package-manager - Graphical Package Manager for Parrot OS
parrot-pico - Tools selection for Parrot Pico
parrot-privacy - Parrot Privacy Protection Tools
parrot-skel - Parrot SKEL package
parrot-themes - Parrot GNU/Linux default themes and icons
parrot-tools - Penetration testing and security auditing distribution,
parrot-tools-cloud - Parrot Security OS - cloud edition tools metapackage
parrot-tools-full - Metapackage that installs a FULL penetration testing environment
parrot-updater - Parrot Updater

Code:
apt-get install parrot-tools-full

parrotsec installer

[Image: a4ba55f693c3510cbc13faa0cc3cafc7.png]

after installation

Code:
apt-get update ; apt-get upgrade ; apt-get dist-upgrade

Code:
reboot now

verifying parrotsec installation

Code:
uname -r

[Image: 85426ebf50d083261b6d785092b37914.png]

Code:
msfconsole -q

fixing minor debain nginx bugs

error code

Code:
Errors were encountered while processing:
nginx-full
nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)

Code:
systemctl status nginx

output

Code:
nginx[18334]: nginx: [emerg] listen() to [::]:80, backlog 511 failed (80: Address already in use)
nginx[18334]: nginx: [emerg] listen() to 0.0.0.0:80, backlog 511 failed (80: Address already in use)

ngnix fails to install because apache2 is running on port 80

stopping apache2 service

Code:
service apache2 stop

if this doesnt allow you to finish nginx installation try removing nginx packages

Code:
apt-get remove nginx* --purge


it may happen because current installtion of nginx broke

reinstaling ngnix packages

Code:
apt-get install nginx nginx-full

Final thoughts

you have your secure cloud pentesting distro you can run scans with ease and at lighting speed
[Image: BezlSXT.gif]
[-] The following 3 users Like 0xadmin's post:
  • 0v0, Derek Owumi, Xyt0
Reply
#2
Resource full thread however having cloud distribution has new few security bugs and can be fixed.
Coming to overall thread layout looks nice thread and that gif stands out. Great job Jinder
Reply
#3
I have digital ocean unused credit. I was looking to setup my private lab but digital ocean doesn't support kali or other pentesting operating systems. I tried building virtual images of kali linux it broke for some reason. This method works installed kali-linux with xfce
Will post images of my workspace
Reply
#4
Change "Reboot now"

to
Code:
reboot

Add a warning please that it might break your LInux install
[-] The following 1 user Likes Derek Owumi's post:
  • 0xadmin
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)