You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.3 KiB
Python
44 lines
1.3 KiB
Python
9 months ago
|
import requests
|
||
|
import random
|
||
|
import asyncio as aio
|
||
|
|
||
|
async def hitvm(filename: str):
|
||
|
requests.get(f'http://172.30.0.156/{filename}')
|
||
|
|
||
|
async def main():
|
||
|
filenames = [
|
||
|
"wp-login.php",
|
||
|
".env",
|
||
|
"plugins/system/debug/debug.xml",
|
||
|
"administrator/language/en-GB/en-GB.xml",
|
||
|
"administrator/help/en-GB/toc.json",
|
||
|
".git/config",
|
||
|
"vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php",
|
||
|
"xmlrpc.php",
|
||
|
"wp1/wp-includes/wlwmanifest.xml",
|
||
|
"wp/wp-includes/wlwmanifest.xml",
|
||
|
"wordpress/wp-includes/wlwmanifest.xml",
|
||
|
"web/wp-includes/wlwmanifest.xml",
|
||
|
"test/wp-includes/wlwmanifest.xml",
|
||
|
"site/wp-includes/wlwmanifest.xml",
|
||
|
"shop/wp-includes/wlwmanifest.xml",
|
||
|
"cms/wp-includes/wlwmanifest.xml",
|
||
|
"blog/wp-includes/wlwmanifest.xml",
|
||
|
"2019/wp-includes/wlwmanifest.xml",
|
||
|
"wp-load.php",
|
||
|
"public/_ignition/health-check",
|
||
|
"_ignition/health-check",
|
||
|
"admin/.env",
|
||
|
"protected/.env",
|
||
|
"wp-includes/wp-class.php",
|
||
|
"wp-commentin.php",
|
||
|
"wp-signin.php"
|
||
|
]
|
||
|
await aio.gather(*[
|
||
|
hitvm(filename)
|
||
|
for filename in random.choices(
|
||
|
filenames, k=len(filenames)//2
|
||
|
)
|
||
|
])
|
||
|
|
||
|
aio.run(main())
|