Powered by Starlette. That async
declaration is optional.View documentation.
This gets you a ASGI app, with a production static files server pre-installed, jinja2templating (without additional imports), and a production webserver based on uvloop,serving up requests with gzip compression automatically.
"Pleasantly very taken with python-responder.@kennethreitz at his absolute best." —RudrakshM.K.
"ASGI is going to enable all sorts of new high-performance web services. It's awesometo see Responder starting to take advantage of that." — Tom Christie author ofDjango REST Framework
"I love that you are exploring new patterns. Go go go!" — Danny Greenfield, author ofTwo Scoops of Django
Seethe documentation's feature tourfor more details on features available in Responder.
Install the stable release:
$ pipenv install responder
✨��✨
Or, install from the development branch:
$ pipenv install -e git+https://github.com/taoufik07/responder.git#egg=responder
Only Python 3.6+ is supported.
The primary concept here is to bring the niceties that are brought forth from both Flaskand Falcon and unify them into a single framework, along with some new ideas I have. Ialso wanted to take some of the API primitives that are instilled in the Requestslibrary and put them into a web framework. So, you'll find a lot of parallels here withRequests.
resp.content
sends back bytes.resp.text
sends back unicode, while setting resp.html
sends back HTML.resp.media
sends back JSON/YAML (.text
/.html
/.content
override this).req.headers
dict (from Requests directly).resp.status_code
, req.method
, req.url
, and other familiar friends.response.media
, and have used it here. In addition tosupporting JSON, I have decided to support YAML as well, as Kubernetes is slowlytaking over the world, and it uses YAML for all the things. Content-negotiation andall that.on_get
, on_post
, etc methods, Responder features anon_request
method, which gets called on every type of request, much like Requests.Responder 是一个简单的处理远程异步调用的结果/异常的封装类。Responder 将实现mx.rpc.IResponder接口。 Responder 有两个重要的方法: [b]result() - function接收结果事件 fault() - function 接收异常事件[/b] [b][size=medium]AsyncToken 和 Responders 类[/size][/b]
项目地址:https://github.com/SpiderLabs/Responder.git 功能 内建smb认证服务器:支持的范围: Windows 95 到 Server 2012 RC, Samba 以及 Mac OSX Lion,该功能会默认被启用,可以用来截获hash 来用于smb relay攻击 内建mssql认证服务器:对windows版本高于windows Vista的机器使用
responder 这个工具首先是一个LLMNR和NBT-NS响应者,它将根据它们的名字后缀来回答特定的NBT-NS(NetBIOS名称服务)查询 。默认情况下,该工具只会回答针对SMB的文件服务器服务请求。这背后的概念是针对我们的答案,并在网络上隐身。这也有助于确保我们不会破坏合法的NBT-NS行为。如果您希望此工具回答工作站服务请求名称后缀,可以通过命令行将-r选项设置为1。 用法: resp
STARTING POINT TIER 1 Responder 这一关学到了很多,首先nmap扫一下 └─$ sudo nmap -sV -sS 10.129.140.169 -p 1-10000 PORT STATE SERVICE VERSION 80/tcp open http Apache httpd 2.4.52 ((Win64) OpenSSL/1.1