Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The idea of obtaining webshell for sa permission

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

The idea of obtaining webshell for sa permission

1. Through the SQL query Analyzer, the xp_cmdshell stored procedure is first restored with sa permissions.

two。 Connect to the database through SQL Tools2.0, execute commands, view the site path and disk files, and get the real path of the site.

3.echo generates a sentence back door.

4. Get webshell permissions directly.

5. If a sentence generated by echo cannot be executed at the backdoor, you can check the database of the corresponding website, obtain the login password in the background, and upload the jpg of webshell through the background. Then copy the jgp file to the aspx file through the copy command to get the webshell.

Tips:

1. Look for writable folders, such as c:/windows/temp, and the true drive of the site.

two。 Generate a sentence back door through the echo command

Echo ^ > d:\ wwwroot\ ok.asp

Echo ^

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report