Installation of Xubuntu
First of all install the application Termux application from F-droid and update & upgrade its repositories.
apt-get update && apt-get upgrade
Install the proot-distro .
apt-get install proot-distro
After installing the proot-distro install the ubuntu by executing the command
proot-distro install ubuntu
When the ubuntu installation gets finished loging in to the ubuntu by running this command.
proot-distro login ubuntu
Update and upgrade the ubuntu
apt-get update && apt upgrade
Now Install the sudo nano
apt-get install sudo nano
Add a user to ubuntu with any name(adduser anyname).In my case it's my name jithendar
It will asks you to enter a password .Enter a password which you want to set to the user.confirm the password by entering it again.
Now it asks you for some details like full name,Room no etc just ignore them .Skip them by pressing Enter .
We have added the user . Now we have to add this user in sudoers file.For that type the command given below
You will see the sudoers file.Scrolldown you will see the text comment "User privilege specification" below this line you can see the root user this line look like
"root ALL=(ALL:ALL)ALL
under this line we have to add the user.
jithendar ALL=(ALL:AKL)ALL.
replace the the name "jithendar" with the name of the user you have added.
Save the changes you have done by pressing CTRL+s and exit by pressing CTRL+x.
Now remove .bashrc file.
Copy the .bashrc file which is in the user directory
cp /home/jithendar/.bashrc .
Replace the name "jithendar" with the username of yours.
logout from ubuntu by the command logout.
Make a file with name ubuntu in the termux directory $PREFIX/bin
paste the below command .
proot-distro login --user jithendar ubuntu
Give your user name in the place of "jithendar"
Then save by pressing CTRL+s and exit by pressing CTRL+x
Give executable permissions to it.
chmod +x $PREFIX/bin/ubuntu
Now when you run the command ubuntu you will login in to the ubuntu as user you have added.
After running the command ubuntu you will get login into the ubuntu now update the ubuntu.
Now it will ask the password enter the password you have set to the user.
When update gets finished install the Xubunt desktop by the command given below
sudo apt install xubuntu-desktop xfce4-terminal tigervnc-standalone-server
This command will take a while depending upon the internet connection speed wait until it gets finished .
Now run these two commands given belowone by one
echo "vncserver -geometry 1280x720 -xstartup /bin/startxfce4" >> /bin/vncstart.
echo "rm -rf /tmp && mkdir /tmp && vncserver -kill :1" >> /bin/vncstop
Give executable permissions to both vncstart and vncstop
That's it we have successfully installed Xubuntu GUI on our android phone.Lets run the Xubuntu by typing vncstart
It will ask you for a password enter a password and verify then type n for View only password.
This command will start server for Xubuntu and don't remove the termux from background.
Now open the VNC Viewer app and click the plus symbol at bottom right of the screen.
We can see it will ask us two parameters one is Address and another is name.
In the Address section enter the localhost:1
In the Name section give any name and click on create.
Tap on the connect you have enter password you had given for vncstart command enter it and click on ok.
Before you close the Xubuntu run the command vncstop else when you start vncstart next time the port number will change so you have to chanege port number in the vncviewer like localhost:portnumber
Installation of burpsuite
Open termux and and login into ubuntu as user in my case my username is jithu. Use your username to login to ubuntu.
proot-distro login --user jithu ubuntu
Then Start the Xubuntu server
vncstart
Open the Xubuntu in Vncviewer.Open browser and go to Portswigger website you will see a section with name products click on that you will get three options you can select your desired burpsuite edition. Scroll down to bottom and click on All releases then you can see all released versions of burpsuite download any version you liked. Now let's install the Java .Open terminal and type the below command
sudo apt install default-jdk
This command will install java after completion of installation go downloads directory there you can find burpsuite file copy the name of that file then run this command given below
java -jar nameofthefile
This command will launch the burpsuite .
That's it for today guys hope you learnt something new let's meet in another post until the keep reading other posts bye.