Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
gs.form
Submit a form to a Web server using a ``POST``
:Author: Michael JasonSmith
_
:Contact: Michael JasonSmith mpj17@onlinegroups.net
:Date: 2014-05-05
:Organization: GroupServer.org
_
:Copyright: This document is licensed under a
Creative Commons Attribution-Share Alike 4.0 International License
_
by OnlineGroups.Net
_.
This product contains the core functions and classes for making
HTTP POST
requests to send data to forms. For the most part
it consists of the post_multipart
_ utility, for posting data to
a form.
While originally written for GroupServer_, there is nothing specific to GroupServer in this product.
post_multipart
The gs.form.post_multipart
function is used to post data to a
form::
post_multipart(host, selector, fields, files=[], usessl=False)
See the documentation for more on how to use this function.
The post_multipart_ code was based on a Python recipe by Wade Leftwich
_. It was changed to use email.multipart
to create
the multipart document that is sent using a POST
.
The Python standard library currently lacks a module for making a
POST
to a Web server. Issue 3244
_ tracks the inclusion of a
module into the standard library.
.. _GroupServer: http://groupserver.org/ .. _GroupServer.org: http://groupserver.org/ .. _OnlineGroups.Net: https://onlinegroups.net .. _Michael JasonSmith: http://groupserver.org/p/mpj17 .. _Creative Commons Attribution-Share Alike 4.0 International License: http://creativecommons.org/licenses/by-sa/4.0/ .. _a Python recipe by Wade Leftwich: http://code.activestate.com/recipes/146306-http-client-to-post-using-multipartform-data/ .. _Issue 3244: http://bugs.python.org/issue3244
FAQs
Functions for posting data to forms.
We found that gs.form demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.