parent
f78b0e613d
commit
53778fd55c
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,42 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
import sys
|
||||
from PyQt5.QtWidgets import *
|
||||
from PyQt5.QtCore import *
|
||||
from PyQt5.QtGui import *
|
||||
from guis.jiemian import *
|
||||
from guis.jiemian2 import *
|
||||
from guis.jiemian3 import *
|
||||
|
||||
|
||||
class Window1(QMainWindow, Ui_MainWindow):
|
||||
def __init__(self, parent=None):
|
||||
super(Window1, self).__init__(parent)
|
||||
self.setupUi(self)
|
||||
|
||||
self.pushButton_2.clicked.connect(self.w2)
|
||||
self.pushButton_3.clicked.connect(self.w3)
|
||||
def w2(self):
|
||||
self.window2=Window2()
|
||||
self.window2.show()
|
||||
def w3(self):
|
||||
self.window3=Window3(
|
||||
)
|
||||
self.window3.show()
|
||||
|
||||
|
||||
class Window2(QMainWindow, Ui_MainWindow2):
|
||||
def __init__(self, parent=None):
|
||||
super(Window2, self).__init__(parent)
|
||||
self.setupUi(self)
|
||||
|
||||
class Window3(QMainWindow, Ui_MainWindow3):
|
||||
def __init__(self, parent=None):
|
||||
super(Window3, self).__init__(parent)
|
||||
self.setupUi(self)
|
||||
if __name__ == '__main__':
|
||||
QCoreApplication.setAttribute(QtCore.Qt.AA_EnableHighDpiScaling)
|
||||
app = QApplication(sys.argv)
|
||||
win = Window1()
|
||||
win.show()
|
||||
sys.exit(app.exec_())
|
@ -0,0 +1,68 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<style>
|
||||
body{ background:#fff; font-family: microsoft yahei; color:#969696; font-size:14px;}
|
||||
.online-desc-con { text-align:center; }
|
||||
.r-tip01 { color: #333; font-size: 18px; display: block; text-align: center; width: 500px; padding: 0 10px; overflow: hidden; text-overflow: ellipsis; margin: 0 auto 15px; }
|
||||
.r-tip02 { color: #585858; font-size: 14px; display: block; margin-top: 20px; margin-bottom: 20px; }
|
||||
#notice-jiasule {
|
||||
word-wrap: break-word;
|
||||
word-break: normal;
|
||||
color:#585858;
|
||||
border:1px solid #ddd;
|
||||
padding:0px 20px 0px 20px
|
||||
}
|
||||
img { border: 0; }
|
||||
.u-ico{ vertical-align: middle; margin-right: 12px;}
|
||||
.btn{ padding: 8px 22px; border-radius: 3px; border: 0; display: inline-block;vertical-align: middle;text-decoration: none;}
|
||||
.btn-g{ background-color: #61b25e; color: #fff;}
|
||||
.report {color: #858585; text-decoration: none;}
|
||||
.report:hover {text-decoration: underline; color: #0088CC;}
|
||||
hr{ border-top: 1px dashed #ddd;}
|
||||
center{ line-height: 48px; color: #919191;}
|
||||
</style>
|
||||
<script type="text/template" id="content_tpl">
|
||||
<span class="r-tip01"><%= error_403 %></span>
|
||||
<div id='notice-jiasule'>
|
||||
<p>当前网址:<%- url %></p>
|
||||
<p>客户端特征:<%- user_agent %></p>
|
||||
<p>拦截时间:<%- now %> 本次事件ID <%- rule_id %></p>
|
||||
</div>
|
||||
<span class='r-tip02'>
|
||||
<img class='u-ico' alt='' src='/cdn-cgi/image/guest.png' />如果您是网站管理员,请登录知道创宇云防御
|
||||
<a class='btn btn-g' href='http://help.yunaq.com/feedback.html?from=<%- from %>&rule_id=<%- rule_id %>&client_ip=<%- client_ip %>&referrer=<%- ref %>#pus' target='_blank'>查看详情</a>
|
||||
或者
|
||||
<a class='report' href='http://help.yunaq.com/feedback.html?from=<%- from %>&rule_id=<%- rule_id %>&client_ip=<%- client_ip %>&referrer=<%- ref %>#hus' target='_blank'>反馈误报</a>
|
||||
</span>
|
||||
</script>
|
||||
<script type="text/javascript" src="/cdn-cgi/js/underscore_min_1.8.3.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="online-desc-con" style="width:640px;padding-top:15px;margin:34px auto;" >
|
||||
<img id="wafblock" alt="" style="margin: 0 auto 17px auto;" />
|
||||
<script type="text/javascript">
|
||||
var pic = '' || 'hacker';
|
||||
document.getElementById("wafblock").src = '/cdn-cgi/image/' + pic + '.png';
|
||||
</script>
|
||||
<div id="content_rendered"></div>
|
||||
<hr />
|
||||
<center>client: 117.136.89.114, server: ff72b00, time: 29/Nov/2021:22:00:44 +0800</center>
|
||||
</div>
|
||||
<script>
|
||||
void(function fuckie6(){if(location.hash && /MSIE 6/.test(navigator.userAgent) && !/jsl_sec/.test(location.href)){location.href = location.href.split('#')[0] + '&jsl_sec' + location.hash}})();
|
||||
var content = _.template(document.getElementById('content_tpl').innerHTML)({
|
||||
error_403: '' || '当前访问疑似黑客攻击,已被网站管理员设置为拦截',
|
||||
url: document.URL.replace(/\</g,"%3C").replace(/\>/g,"%3E"),
|
||||
user_agent: navigator.userAgent,
|
||||
now: new Date(new Date() - -8 * 3600000).toISOString().substr(0, 19).replace('T', ' '),
|
||||
rule_id: parseInt('[80001]'.replace(/\[|\]/g, '')) || '',
|
||||
from: encodeURIComponent(document.referrer.substr(0, 1024)),
|
||||
client_ip: '117.136.89.114',
|
||||
ref: encodeURIComponent(document.URL.substr(0, 1024))
|
||||
});
|
||||
document.getElementById('content_rendered').innerHTML = content;
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,70 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'jiemian4.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.4
|
||||
#
|
||||
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
||||
# run again. Do not edit this file unless you know what you are doing.
|
||||
|
||||
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_MainWindow4(object):
|
||||
def setupUi(self, MainWindow4):
|
||||
MainWindow4.setObjectName("MainWindow4")
|
||||
MainWindow4.resize(802, 600)
|
||||
self.centralwidget = QtWidgets.QWidget(MainWindow4)
|
||||
self.centralwidget.setObjectName("centralwidget")
|
||||
self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
|
||||
self.gridLayout.setObjectName("gridLayout")
|
||||
self.label = QtWidgets.QLabel(self.centralwidget)
|
||||
self.label.setMinimumSize(QtCore.QSize(61, 21))
|
||||
self.label.setMaximumSize(QtCore.QSize(61, 21))
|
||||
|
||||
self.label.setObjectName("label")
|
||||
self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
|
||||
self.lineEdit = QtWidgets.QLineEdit(self.centralwidget)
|
||||
self.lineEdit.setMinimumSize(QtCore.QSize(71, 21))
|
||||
self.lineEdit.setMaximumSize(QtCore.QSize(71, 21))
|
||||
self.lineEdit.setObjectName("lineEdit")
|
||||
self.gridLayout.addWidget(self.lineEdit, 0, 1, 1, 1)
|
||||
self.pushButton = QtWidgets.QPushButton(self.centralwidget)
|
||||
self.pushButton.setMinimumSize(QtCore.QSize(61, 28))
|
||||
self.pushButton.setMaximumSize(QtCore.QSize(61, 28))
|
||||
self.pushButton.setObjectName("pushButton")
|
||||
self.gridLayout.addWidget(self.pushButton, 0, 2, 1, 1)
|
||||
self.progressBar = QtWidgets.QProgressBar(self.centralwidget)
|
||||
self.progressBar.setProperty("value", 0)
|
||||
self.progressBar.setObjectName("progressBar")
|
||||
self.gridLayout.addWidget(self.progressBar, 0, 3, 1, 1)
|
||||
self.pushButton_4 = QtWidgets.QPushButton(self.centralwidget)
|
||||
self.pushButton_4.setObjectName("pushButton_4")
|
||||
self.gridLayout.addWidget(self.pushButton_4, 0, 4, 1, 1)
|
||||
self.pushButton_5 = QtWidgets.QPushButton(self.centralwidget)
|
||||
self.pushButton_5.setObjectName("pushButton_5")
|
||||
self.gridLayout.addWidget(self.pushButton_5, 0, 5, 1, 1)
|
||||
self.textEdit = QtWidgets.QTextEdit(self.centralwidget)
|
||||
self.textEdit.setMinimumSize(QtCore.QSize(780, 0))
|
||||
self.textEdit.setObjectName("textEdit")
|
||||
self.gridLayout.addWidget(self.textEdit, 1, 0, 1, 6)
|
||||
MainWindow4.setCentralWidget(self.centralwidget)
|
||||
self.menubar = QtWidgets.QMenuBar(MainWindow4)
|
||||
self.menubar.setGeometry(QtCore.QRect(0, 0, 802, 26))
|
||||
self.menubar.setObjectName("menubar")
|
||||
MainWindow4.setMenuBar(self.menubar)
|
||||
self.statusbar = QtWidgets.QStatusBar(MainWindow4)
|
||||
self.statusbar.setObjectName("statusbar")
|
||||
MainWindow4.setStatusBar(self.statusbar)
|
||||
|
||||
self.retranslateUi(MainWindow4)
|
||||
QtCore.QMetaObject.connectSlotsByName(MainWindow4)
|
||||
|
||||
def retranslateUi(self, MainWindow4):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
MainWindow4.setWindowTitle(_translate("MainWindow4", "漏洞管理系统"))
|
||||
self.label.setText(_translate("MainWindow4", "验证码:"))
|
||||
self.pushButton.setText(_translate("MainWindow4", "确定"))
|
||||
self.pushButton_4.setText(_translate("MainWindow4", "开始"))
|
||||
self.pushButton_5.setText(_translate("MainWindow4", "设置"))
|
@ -0,0 +1,125 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>MainWindow4</class>
|
||||
<widget class="QMainWindow" name="MainWindow4">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>802</width>
|
||||
<height>600</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>漏洞管理系统</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>61</width>
|
||||
<height>21</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>61</width>
|
||||
<height>21</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>宋体</family>
|
||||
<pointsize>9</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>验证码:</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QLineEdit" name="lineEdit">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>21</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>71</width>
|
||||
<height>21</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QPushButton" name="pushButton">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>61</width>
|
||||
<height>28</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>61</width>
|
||||
<height>28</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>确定</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="3">
|
||||
<widget class="QProgressBar" name="progressBar">
|
||||
<property name="value">
|
||||
<number>0</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="4">
|
||||
<widget class="QPushButton" name="pushButton_4">
|
||||
<property name="text">
|
||||
<string>开始</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="5">
|
||||
<widget class="QPushButton" name="pushButton_5">
|
||||
<property name="text">
|
||||
<string>设置</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0" colspan="6">
|
||||
<widget class="QTextEdit" name="textEdit">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>780</width>
|
||||
<height>0</height>
|
||||
</size>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QMenuBar" name="menubar">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>802</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QStatusBar" name="statusbar"/>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
@ -0,0 +1,48 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Form implementation generated from reading ui file 'jiemian5.ui'
|
||||
#
|
||||
# Created by: PyQt5 UI code generator 5.15.4
|
||||
#
|
||||
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
||||
# run again. Do not edit this file unless you know what you are doing.
|
||||
|
||||
|
||||
from PyQt5 import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_MainWindow5(object):
|
||||
def setupUi(self, MainWindow5):
|
||||
MainWindow5.setObjectName("MainWindow5")
|
||||
MainWindow5.resize(659, 714)
|
||||
self.centralwidget = QtWidgets.QWidget(MainWindow5)
|
||||
self.centralwidget.setObjectName("centralwidget")
|
||||
self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
|
||||
self.gridLayout.setObjectName("gridLayout")
|
||||
self.label = QtWidgets.QLabel(self.centralwidget)
|
||||
|
||||
self.label.setScaledContents(False)
|
||||
self.label.setAlignment(QtCore.Qt.AlignCenter)
|
||||
self.label.setObjectName("label")
|
||||
self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
|
||||
self.tableWidget = QtWidgets.QTableWidget(self.centralwidget)
|
||||
self.tableWidget.setObjectName("tableWidget")
|
||||
self.tableWidget.setColumnCount(0)
|
||||
self.tableWidget.setRowCount(0)
|
||||
self.gridLayout.addWidget(self.tableWidget, 1, 0, 1, 1)
|
||||
MainWindow5.setCentralWidget(self.centralwidget)
|
||||
self.menubar = QtWidgets.QMenuBar(MainWindow5)
|
||||
self.menubar.setGeometry(QtCore.QRect(0, 0, 659, 26))
|
||||
self.menubar.setObjectName("menubar")
|
||||
MainWindow5.setMenuBar(self.menubar)
|
||||
self.statusbar = QtWidgets.QStatusBar(MainWindow5)
|
||||
self.statusbar.setObjectName("statusbar")
|
||||
MainWindow5.setStatusBar(self.statusbar)
|
||||
|
||||
self.retranslateUi(MainWindow5)
|
||||
QtCore.QMetaObject.connectSlotsByName(MainWindow5)
|
||||
|
||||
def retranslateUi(self, MainWindow5):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
MainWindow5.setWindowTitle(_translate("MainWindow5", "MainWindow"))
|
||||
self.label.setText(_translate("MainWindow5", "漏洞名称"))
|
@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>MainWindow5</class>
|
||||
<widget class="QMainWindow" name="MainWindow5">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>659</width>
|
||||
<height>714</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
<string>MainWindow</string>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
<layout class="QGridLayout" name="gridLayout">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="label">
|
||||
<property name="font">
|
||||
<font>
|
||||
<family>楷体</family>
|
||||
<pointsize>24</pointsize>
|
||||
</font>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>漏洞名称</string>
|
||||
</property>
|
||||
<property name="scaledContents">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="alignment">
|
||||
<set>Qt::AlignCenter</set>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QTableWidget" name="tableWidget"/>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<widget class="QMenuBar" name="menubar">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>659</width>
|
||||
<height>26</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QStatusBar" name="statusbar"/>
|
||||
</widget>
|
||||
<resources/>
|
||||
<connections/>
|
||||
</ui>
|
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue