Tag: databases

MySQL

Copying MySQL database to another server

* Export database from old server: mysqldump -u[username] -p[password] db_name > db_backupmysqldump -u[username] -p[password] db_name > db_backup * Copy backup to new server: scp db_backup [username]@[ip_address_or_hostname]:/home/[username]/db_backupscp db_backup [username]@[ip_address_or_hostname]:/home/[username]/db_backup * Import database to new server: mysql -u [username] -p -h localhost db_name < db_backupmysql -u [username] -p -h localhost db_name < db_backup

Hacking, Penetration Testing

Automatic SQL database injection

jSQL Injection is a java tool for automatic sql database injection. jSQL is free, open source and cross-platform (Windows, Linux, Mac OS X, Solaris). jSQL is part of Kali Linux, the official new BackTrack penetration distribution. jSQL is also included in Black Hat Sec, ArchAssault Project, BlackArch Linux and Cyborg Hawk Linux. Download from GitHub. …