Posts

Showing posts from June, 2017

INSTALL TIGHTVNC ON KALI LINUX RASPBERRY PI

Image
Install TightVNC server using the following command


apt-get install tightvncserver
Run VNCserver to generate the configuration files.


vncserver :1
VNC sessions are not linked to Linux user authentication.It is just protected by a password.So, it is better to change your password.
Change your password using


vncpasswd
Run the command to check the VNC connection


netstat -tupln
Use a VNC application such as VNC CONNECT and login using the PI's IP Address.


Download the VNC CONNECT
To run VNC over SSH, we can create a SSH tunnel. Start your VNC server vncserver :1 -geometry 1280x800 -depth 16 -localhost -nolisten tcp

-locahost option will ensure VNC port is listening only on local interface. -nolisten tcp - X Server will not listen on the network.
Now, create a SSH tunnel  ssh -L 5901:localhost:5901 -N -f <user>@<ip>

Any connection to this port will be tunneled by SSH.
ENABLE AT STARTUPTo enable VNC at boot, nano /etc/init.d/vncboot

Paste the following code
#!/bin/sh ### BEGIN INIT INFO # Provides:…

WHERE IS PROFILE VIEW COUNT??

Image
Google plus had a metric "VIEWS" to keep track of view counts of google profiles and pages.
That number counts how many times your profile, contents, photos, posts and the page has been viewed by other people.
In this new version of google plus, view count was REMOVED.
So, we cant get it back until there's any new update from google.

ENABLE AUTOSTART FOR X11VNC

Image
ENABLING AUTOSTART FOR X11VNC ON KALI LINUX RASPBERRY PITO INSTALL VNC check my last post INSTALL X11VNC ON KALI LINUX RASPBERRY PIOnce you've started the service, it'll run until you stop it or reboot.
To Autostart it during BOOT , follow these steps.
Create a file "sharex11vnc" in the directory /usr/local/bin
Open a terminal, type


cd /usr/local/bin
this will take you to that directory.
To create a file, type


nano sharex11vnc
Enter the following,

#!/bin/sh
x11vnc -ncache 10 -auth guess -repeat -nap -loop -forever -rfbauth ~/.vnc/passwd -desktop "VNC ${USER}@${HOSTNAME}"|grep -Eo "[0-9]{4}">~/.vnc/port.txt

# comment this out if you dont want a pop up telling you which port you're using

zenity --info --text="Your VNC port is 'cat~/.vnc/port.txt'"

press Ctrl+x then press "y" then hit Enter. This will save the file.
This script will run the x11vnc during boot.
Once the file is created, we need to give some permissions, type


chmod 7…

INSTALL X11VNC ON KALI LINUX RASPBERRY PI

Image
Once your PI is configured, update it.


 apt-get update apt-get upgradeAfter everything is updated, install x11vnc by typing apt-get install x11vnc After it is installed, set up a password to connect to your PI. Type, x11vnc -storepasswdEnter your password and press enter and you're done.

To connect through vnc, first you need to start the service.Type the following command to start it. x11vnc -ncache 10 -auth guess -nap -forever -loop -repeat -rfbauth /root/.vnc/passwd -rfbport 5900 -noncache Use a VNC application such as VNC CONNECT and login using the PI's IP Address.
Download the VNC CONNECT
https://www.realvnc.com/download/vnc/
CHECK MY  ENABLE AUTOSTART FOR X11VNCTO AUTOSTART IT DURING BOOT





AUTOSTART SSH ON RASPBERRY PI 3

Image
Due to Security reasons now SSH service is disabled by default.
We can enable is by
service ssh startIf we do not have a display to connect through HDMI, we have to use SSH. To connect through SSH, First the SSH service should be running on the system.
To Auto start SSH during boot, we can just add a file named "ssh" without specifing any extension.
Follow these steps  Create an Empty File, with name ssh .Open a Notepad, click on Save AsIn File Name field, type "ssh"  (with double quotes)In Save as type field,  select "All files".
So it creates a file without any extention. Connect your Pi's SD card to your computer,Open the drive boot(In my case its boot, it may vary.Please check for the proper drive), and paste the ssh file.Insert SD card into your PI and REBOOT. And you should be good to connect through SSH.

INSTALLING KALI LINUX 2017 ON RASPBERRY PI 3

Image
Installing kali 2017 on Raspberry pi 3


Installing kali is pretty simple. Use a 8/16gb sd card so that there’ll no complications. Follow these steps, Download the official Kali Linux image for Raspberry pi. https://www.offensive-security.com/kali-linux-arm-images/ Extract the Downloaded file.Use WinRAR to extract. Download WinRAR fromhttp://www.rarlab.com/download.htm
Write the Image to the SDcard.Use Win32Disk Imager.Select the correct drive and click on write. Download Win32Disk Imager from                 https://sourceforge.net/projects/win32diskimager/ Once the Image is written, Insert it into the Pi and boot.Use a HDMI cable with a mouse and keyboard to access it.                              OR Use SSH, using PuTTY or some similar application you can use it.Follow these steps for connecting through SSHConnect LAN cable.Use zenmap to get the ip address or your PI.Type your IP address (e.g., root@192.168.1.3) and click on open Download PuTTY from                     http://www.putty.org/





Chec…