NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

┌──(kali㉿kali)-[~/Downloads]
└─$ mv redteam-lab-setup-v2.sh draft_5.sh

┌──(kali㉿kali)-[~/Downloads]
└─$ chmod +x draft_5.sh

┌──(kali㉿kali)-[~/Downloads]
└─$ sudo mysql -e "DROP DATABASE IF EXISTS portaldb;"

┌──(kali㉿kali)-[~/Downloads]
└─$ sudo bash draft_5.sh
[+] Updating system...
Hit:1 http://http.kali.org/kali kali-rolling InRelease
28 packages can be upgraded. Run 'apt list --upgradable' to see them.
The following packages were automatically installed and are no longer required:
amass-common libconfig-inifiles-perl libinstpatch-1.0-2 libraw23t64 libvdpau-va-gl1 python3-fs python3-xlrd
curlftpfs libcrypt-dev libjs-jquery-ui librubberband2 libwireshark18 python3-gpg python3-xlutils
enchant-2 libdisplay-info2 libjs-underscore libsframe2 libwiretap15 python3-kismetcapturebtgeiger python3-xlwt
gir1.2-girepository-2.0 libdlt2 libmbedcrypto16 libsnmp40t64 libwsutil16 python3-kismetcapturefreaklabszigbee python3-yaswfp
libarmadillo14 libfuse2t64 libmongoc-1.0-0t64 libsodium23 libxmlsec1-1 python3-kismetcapturertl433 python3-zombie-imp
libaudio2 libgav1-1 libmupdf25.1 libsphinxbase3t64 libxmlsec1-openssl1 python3-kismetcapturertladsb ruby-unf-ext
libavc1394-0 libgdal37 libnet1 libsqlcipher1 mesa-vdpau-drivers python3-kismetcapturertlamr samba-ad-dc
libavfilter10 libgdk-pixbuf2.0-bin libplacebo349 libswscale8 openjdk-21-jre python3-pluginbase samba-ad-provision
libavformat61 libgeos3.14.0 libpocketsphinx3 libteamdctl0 openjdk-21-jre-headless python3-pysmi samba-dsdb-modules
libblosc2-4 libgirepository-1.0-1 libportmidi0 libtsk19t64 pocketsphinx-en-us python3-pysnmp4 seclists
libbluray2 libgpgme11t64 libpostproc58 libudfread0 python3-bluepy python3-terminaltables vdpau-driver-all
libbson-1.0-0t64 libgpgmepp6t64 libradare2-5.0.0t64 libunibreak6 python3-click-plugins python3-tz
Use 'sudo apt autoremove' to remove them.

Not upgrading:
bulk-extractor libcolorhug2 libgl1-mesa-dri libgtk-4-1 libpipewire-0.3-0t64 libspa-0.2-modules pipewire-bin
colord libegl-mesa0 libglx-mesa0 libgtk-4-bin libpipewire-0.3-modules mesa-libgallium pipewire-pulse
graphviz libfalcosecurity0t64 libgrpc29t64 libgtkmm-4.0-0 libre2-11 nodejs python3-pygraphviz
gstreamer1.0-plugins-bad libgbm1 libgstreamer-plugins-bad1.0-0 libmagickcore-7.q16-10-extra libspa-0.2-bluetooth pipewire yelp

Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 28
[+] Installing required packages...
apache2 is already the newest version (2.4.67-1).
mariadb-server is already the newest version (1:11.8.6-6).
php is already the newest version (2:8.4+99).
php-mysql is already the newest version (2:8.4+99).
php-cli is already the newest version (2:8.4+99).
php-curl is already the newest version (2:8.4+99).
php-xml is already the newest version (2:8.4+99).
libapache2-mod-php is already the newest version (2:8.4+99).
git is already the newest version (1:2.53.0-1).
zip is already the newest version (3.0-15).
unzip is already the newest version (6.0-29).
python3 is already the newest version (3.13.9-3+b1).
python3-pip is already the newest version (26.0.1+dfsg-1).
net-tools is already the newest version (2.10-2).
curl is already the newest version (8.19.0-3).
wget is already the newest version (1.25.0-2).
sudo is already the newest version (1.9.17p2-5).
cron is already the newest version (3.0pl1-209).
vim is already the newest version (2:9.2.0461-1).
libcap2-bin is already the newest version (1:2.78-1).
openssh-server is already the newest version (1:10.3p1-1).
The following packages were automatically installed and are no longer required:
amass-common libconfig-inifiles-perl libinstpatch-1.0-2 libraw23t64 libvdpau-va-gl1 python3-fs python3-xlrd
curlftpfs libcrypt-dev libjs-jquery-ui librubberband2 libwireshark18 python3-gpg python3-xlutils
enchant-2 libdisplay-info2 libjs-underscore libsframe2 libwiretap15 python3-kismetcapturebtgeiger python3-xlwt
gir1.2-girepository-2.0 libdlt2 libmbedcrypto16 libsnmp40t64 libwsutil16 python3-kismetcapturefreaklabszigbee python3-yaswfp
libarmadillo14 libfuse2t64 libmongoc-1.0-0t64 libsodium23 libxmlsec1-1 python3-kismetcapturertl433 python3-zombie-imp
libaudio2 libgav1-1 libmupdf25.1 libsphinxbase3t64 libxmlsec1-openssl1 python3-kismetcapturertladsb ruby-unf-ext
libavc1394-0 libgdal37 libnet1 libsqlcipher1 mesa-vdpau-drivers python3-kismetcapturertlamr samba-ad-dc
libavfilter10 libgdk-pixbuf2.0-bin libplacebo349 libswscale8 openjdk-21-jre python3-pluginbase samba-ad-provision
libavformat61 libgeos3.14.0 libpocketsphinx3 libteamdctl0 openjdk-21-jre-headless python3-pysmi samba-dsdb-modules
libblosc2-4 libgirepository-1.0-1 libportmidi0 libtsk19t64 pocketsphinx-en-us python3-pysnmp4 seclists
libbluray2 libgpgme11t64 libpostproc58 libudfread0 python3-bluepy python3-terminaltables vdpau-driver-all
libbson-1.0-0t64 libgpgmepp6t64 libradare2-5.0.0t64 libunibreak6 python3-click-plugins python3-tz
Use 'sudo apt autoremove' to remove them.

Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 28
[+] Enabling and starting services...
[+] Creating directory structure...
[+] Creating system users...
[+] Configuring Apache (enable .htaccess overrides)...
Module rewrite already enabled
[+] Configuring MariaDB...
[+] Setting up database schema and seed data...
[+] Saving DB backup for cleanup restore...
[+] Deploying CorpBook web application...
[+] Configuring internal Apache vhost on 127.0.0.1:8080...
Site internal already enabled
[+] Generating SSH key for user1...
[+] Initialising git repository with SSH key bait...
[+] Setting web file permissions...
[+] Writing flags...
[+] Creating decoy files...
[+] Creating vulnerable backup script...
[+] Configuring sudoers for user1...
[+] Setting Python3 capability (cap_setuid)...
/usr/bin/python3.13 cap_setuid=ep
[+] Writing cleanup/reset script...
[+] Scheduling 4-hour auto-reset cron...
[+] Restarting services...
[+] Internal SSRF vhost responding on 127.0.0.1:8080

[+] Running validation checks...
PASS Apache running
     
 
what is notes.io
 

Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 14 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.