-
Script will run in python environment. (Version - 3.9.2) with MYSQL as database (Version - mysql-installer-community-8.0.37.0)
-
Create 1 user with DBA permission. and other few users as normal user. You can also use the createUser script present inside Injections folder for creating normal type of user.
Sample to call the script "python Injections/create_user.py 'username' 'password'"
-
In the script, I have used four users, newuser being user with DBA permission while rogueuser, normaluser, riskuser are normal type of users.
-
Update all the respective users in the script for getting different logs for different users.
-
Update the username if required in failed_login_attempts. This could be any random name for the user
-
There is a config.ini file here is the details of the params in the file.
- loop_range: This is for setting the range for loopThreat.py file
- failed_login_array: This is array of users passed to failed login users.
- host: Database server Host
- database: Database name
- port: Database server port
- user: User with DBA permission
- passwd: Password for user in point 6
- Add the required details in config.ini
- cd MaliciousActivities/
- sh runMaliciousActivities.sh