当前位置: 首页 > 软件库 > 大数据 > 数据查询 >

responder

A familiar HTTP Service Framework for Python.
授权协议 View license
开发语言 Java
所属分类 大数据、 数据查询
软件类型 开源软件
地区 不详
投 递 者 孙京
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Responder: a familiar HTTP Service Framework for Python

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.

Testimonials

"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

More Examples

Seethe documentation's feature tourfor more details on features available in Responder.

Installing 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 Basic Idea

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.

  • Setting resp.content sends back bytes.
  • Setting resp.text sends back unicode, while setting resp.html sends back HTML.
  • Setting resp.media sends back JSON/YAML (.text/.html/.content override this).
  • Case-insensitive req.headers dict (from Requests directly).
  • resp.status_code, req.method, req.url, and other familiar friends.

Ideas

  • Flask-style route expression, with new capabilities -- all while using Python 3.6+'snew f-string syntax.
  • I love Falcon's "every request and response is passed into to each view and mutated"methodology, especially 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.
  • A built in testing client that uses the actual Requests you know and love.
  • The ability to mount other WSGI apps easily.
  • Automatic gzipped-responses.
  • In addition to Falcon's on_get, on_post, etc methods, Responder features anon_request method, which gets called on every type of request, much like Requests.
  • A production static file server is built-in.
  • Uvicorn built-in as a production web server. I would have chosen Gunicorn, but itdoesn't run on Windows. Plus, Uvicorn serves well to protect against slowlorisattacks, making nginx unnecessary in production.
  • GraphQL support, via Graphene. The goal here is to have any GraphQL query exposable atany route, magically.
  • Provide an official way to run webpack.
  • 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

相关阅读

相关文章

相关问答

相关文档