- 基于 Python3.7 环境
-
pip 方式
pip install pipenv
# 46789 http://127.0.0.1:46789/ | |
server{ | |
set $simplebox "simplebox"; | |
listen 46789 fastopen=5; | |
server_name 127.0.0.1; | |
resolver 8.8.8.8; | |
#ssl_certificate /etc/nginx/sites-available/ssl/server.crt; | |
#ssl_certificate_key /etc/nginx/sites-available/ssl/server.key; | |
# ssl_certificate /etc/letsencrypt/live/helixcs.tk/fullchain.pem; | |
# ssl_certificate_key /etc/letsencrypt/live/helixcs.tk/privkey.pem; |
#!/usr/bin/env python | |
from scapy.all import * | |
ap_list = [] | |
def PacketHandler(pkt) : | |
if pkt.haslayer(Dot11) : | |
if pkt.type == 0 and pkt.subtype == 8 : |
"""Asynchronous requests in Flask with gevent""" | |
from time import time | |
from flask import Flask, Response | |
from gevent.pywsgi import WSGIServer | |
from gevent import monkey | |
import requests |
import java.util.Optional; | |
import java.util.stream.Stream; | |
public final class PsbEnum { | |
public static enum SexType { | |
MALE(1, "男"), | |
FEMALE(2, "女"), | |
UNKNOWN(9, "未说明"); | |
private Integer type; |
# -*- coding:utf-8 -*- | |
""" | |
Verion: 1.0 | |
Since : 3.6 | |
Author: zhangjian | |
Site: https://iliangqunru.bitcron.com/ | |
File: csdaf | |
Time: 2018/12/12 | |
RESET is a flag in TCP packets to indicate that the conection is not longer working. So, if any of the two participants in a TCP connection send a packet contains such a RESET flag, the connection will be closed immediately.
Thus it can be use to attack TCP connections once the attacker can forge TCP packets from any of the two parties if he or she know their IPs, ports and the sequence number of current TCP connection.
The attack can be used to make certain users to fail to use certain network services based on TCP if we know the information above.
In practice, we should eavesdrop the victims’ communications to get their IPs, ports and the sequence number. You can do it by:
<!--PC端--> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<style> | |
body { | |
margin: 0; | |
color: #000; | |
overflow: hidden; | |
padding: 0; |
__author__ = 'ZhangJian' | |
import requests | |
import time | |
import sys | |
import os | |
import log | |
from bs4 import BeautifulSoup | |
from subprocess import Popen |