Skip to content

This is a bash script for automated login to a portal built using 'lynx'. The main motive behind this script is, an automated form entry and submission for any portal without actually visting the website.

Notifications You must be signed in to change notification settings

RajuKoushik/Automated-Login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated-Login

This is a bash script for an automated login to a portal built using 'lynx'. The main motive behind this script is, an automated form entry and submission for any portal without actually visting the website. Now you need not have to visit a portal and enter the details manually.Just run the 'login' bash file(.sh file) to automate your portal entry.
This bash script uses lynx.So, you have to make sure that you have installed 'lynx' on your linux based system.

For installation of 'lynx':

->Open your command prompt.

->Then enter the following command.

  `sudo apt-get install lynx`

This is a bash code for our college(IIIT Vadodara) portal which assists the users in automatic login.

Download the bash code and change the username and password and then run it.(Whoa! You have logged in now).

**Command to run a bash code on terminal-** `chmod +x file_name.sh`

./file_name.sh

For the execution of the bash file on boot :-

You have to add the command to the rc.local file.(sudo permissions are required gor editing the rc.local file)

Command to open the rc.local file-

`sudo gedit /etc/rc.local`

The 'login' bash script should be added inbetween and now, the whole code should be added in the rc.local (before exit 0) for its automatic execution after 20 seconds after boot.

` (sleep 20
......
)& `

Automated execution of the bash file after connecting to a wifi-network-

For this to happen the Network Manager has to be installed.

Command to install Network Manager-

sudo apt-get install NetworkManager

Then place this in the following directory.

/etc/NetworkManager/dispatcher.d/

Now the script gets automatically executed when a wifi connection is established.

About

This is a bash script for automated login to a portal built using 'lynx'. The main motive behind this script is, an automated form entry and submission for any portal without actually visting the website.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages