Saravanan666/pypi-org huggingface dataset:
Package: pwnedpwd
PwnedPwdHave my passwords been compromised?Project pagehttps://github.com/ratoaq2/pwnedpwdInfoPwnedPwdis a tiny CLI tool which uses theonlineservicePwned Passwordsto check
whether a given password have been compromised in known data breaches. Credits toTroy Huntfor hosting such service.How it works?Given the input password, this tool willhash it using SHA-1 algorithm, resulting in a 40-characters hexadecimal stringUse the first 5 characters from the generated string to query the online serviceThe online service returns a list of all matching hashes for the given prefixVerify if your SHA-1 hash is present in the responseFor instance, given an input passwordP@sswordSHA-1 hash is9E7C97801CB4CCE87B6C02F98291A6420E6400ADThe first 5 characters are9E7C9We query the online service usingGET https://api.pwnedpasswords.com/range/9E7C9The online service returns a list of all matching hashes (777 hashes for this example):...
77B1EE4BF1B49FEB288C7FC65EE604C0C54:24
780087028CF36AF6A5A1DCF096748FB7090:10
7801CB4CCE87B6C02F98291A6420E6400AD:10848
782545129CEA7F3BD1A076F25B94C064CFE:3
788872DE964354319100FCE0EF4DEA00311:4
...We verify that7801CB4CCE87B6C02F98291A6420E6400ADis present and have10848occurrences in data breachesAbout Pwned PasswordsExtracted from their website:Pwned Passwords are more than half a billion passwords which have previously been exposed in data breaches. The service is detailed in the launch blog post then further expanded on with the release of version 2. The entire data set is both downloadable and searchable online via the Pwned Passwords page.
In order to protect the value of the source password being searched for, Pwned Passwords also implements a k-Anonymity model that allows a password to be searched for by partial hash.Detailed information can be foundhttps://haveibeenpwned.com/API/v3#PwnedPasswordshttps://www.troyhunt.com/ive-just-launched-pwned-passwords-version-2/Installation$[sudo]pipinstallpwnedpwdUsage$pwnedpwd
Password:******[GOOD]Passwordisnotpresentinanyknowndatabreach.(sourcehttps://haveibeenpwned.com/Passwords)$pwnedpwd
Password:12345[BAD]Passwordappeared2570791timesindatabreaches.(sourcehttps://haveibeenpwned.com/Passwords)
Package: pwn-gadget
pwn_gadgetCheck for satisfied one gadget constraints using the state of a running gdb instanceInstallationRequiredto have theone_gadgettool installed and in your path, it is called via subprocess to gather the gadgets/constraintsManual InstallInstalls pwn_gadget package for use in pwntools scripts and as a gdb commandgit clone https://github.com/zolutal/pwn_gadget && \
pip install pwn_gadget/ && \
cp pwn_gadget/pwn_gadget.py ~/.pwn_gadget.py && echo "source ~/.pwn_gadget.py" >> ~/.gdbinitInstallation from PyPiInstalls pwn_gadget package for use in pwntools scripts, will not setup gdb command
(also may be somewhat outdated)pip install pwn-gadgetHow does this work?pwn_gadget parses the constraints generated byone_gadgetin python into a format that can be evaluated by a gdbprintcommand.Leveraging the gdb python api, accessed by a gdb plugin or through pwntools' gdb module, it executes those commands parsed from the one_gadget constraints.Performs all of the boolean operations in the one_gadget constraints on the results from the commands run in gdb.Searches for a gadget where every boolean operation returned True, returning either that offset or None.Regardless of if a satisfiable gadget is found or not, color coded information on the succeeding and failing constraints for each gadget will be printed.UsageAs a gdb plugin(gdb) pwn_gadget ./libc.so.6In a pwntools scriptfrompwnimport*importpwn_gadgetp=process("chal")libc=p.libc# attach and break at the target address_,gdb_api=gdb.attach(p,gdbscript="b *(vuln+180)",api=True)# call pwn_gadget function to look for satisfied gadgetsgadget=pwn_gadget.find_gadget(gdb_api,libc.path)# use found address in payloadpayload=b"A"*32+p64(gadget+libc.address)p.sendline(payload)p.interactive()Example OutputSuccessFailure
Package: pwngrid-api
pwngrid-apiPwnagotchi's Pwngrid API client (⌐■_■)https://pwnagotchi.ai/api/grid/$ pip install pwngrid-apiExampleimportpwngrid_apitry:private_key=pwngrid_api.utils.load_key("./id_rsa_client")exceptFileNotFoundError:private_key=pwngrid_api.utils.gen_key()pwngrid_api.utils.save_key(private_key,"./id_rsa_client")pwngrid=pwngrid_api.PwngridClient("pygotchi",private_key)print(pwngrid.unit.identity)pwngrid.enroll()pwngrid.send_message(recipient="94b67781c4057533d2e2700a9fcce924fbcfc0abf57724415ebc6819a51e4e39",cleartext=b"Hello World!",)forminpwngrid.get_inbox()["messages"]:data,cleartext,sender=pwngrid.read_message(m["id"])print(sender.identity,cleartext.decode("utf-8"))
Package: pwnic
pwnicWhat is this?pwnicis a python package built to forget about the boring stuff during your A/D CTF.
It will take care of both attacking and submitting.
It's only interface is a RESTful API built with FastAPI providing every functionality you need.
You can use our beautiful frontend (WIP) or build your own.
Check out /docs to reference the API.InstallUsage📈 ReleasesYou can see the list of available releases on theGitHub Releasespage.We followSemantic Versionsspecification.We useRelease Drafter. As pull requests are merged, a draft release is kept up-to-date listing the changes, ready to publish when you’re ready. With the categories option, you can categorize pull requests in release notes using labels.List of labels and corresponding titlesLabelTitle in Releasesenhancement,feature🚀 Featuresbug,refactoring,bugfix,fix🔧 Fixes & Refactoringbuild,ci,testing📦 Build System & CI/CDbreaking💥 Breaking Changesdocumentation📝 Documentationdependencies⬆️ Dependencies updatesYou can update it inrelease-drafter.yml.GitHub creates thebug,enhancement, anddocumentationlabels for you. Dependabot creates thedependencieslabel. Create the remaining labels on the Issues tab of your GitHub repository, when you need them.🛡 LicenseThis project is licensed under the terms of theGNU GPL v3.0license. SeeLICENSEfor more details.CreditsThis project was generated withpython-package-template
Package: pwnlib
pwnlib - CTF toolkitPwnlib is a CTF framework and exploit development library. Written in Python, it is designed for rapid prototyping and development, and intended to make exploit writing as simple as possible.frompwnlibimport*context(arch='i386',os='linux')r=remote('exploitme.example.com',31337)# EXPLOIT CODE GOES HEREr.send(asm(shellcraft.sh()))r.interactive()DocumentationOur documentation is available atdocs.pwntools.comA series of tutorials is alsoavailable onlineTo get you started, we've provided some example solutions for past CTF challenges in ourwrite-ups repository.InstallationPwnlib is best supported on 64-bit Ubuntu LTS releases (14.04, 16.04, 18.04, and 20.04).  Most functionality should work on any Posix-like distribution (Debian, Arch, FreeBSD, OSX, etc.).Python3 is suggested, but Pwnlib still works with Python 2.7.  Most of the functionality of pwntools is self-contained and Python-only.  You should be able to get running quickly withpython3-mpipinstall--upgradepwnlibHowever, some of the features (assembling/disassembling foreign architectures) require non-Python dependencies.  For more information, see thecomplete installation instructions here.ContributionSeeCONTRIBUTING.mdContact and CommunityIf you have any questions not worthy of abug report, join the Discord server athttps://discord.gg/96VA2zvjCB
Package: pwnlink
PWNlinkPasswords in the clear? Good luck with your router!Based off ExploitDB ID:33520InstallationTo install PWNlink, make surepython3.7andpython3-pipare installed on your computer, then run:pip3 install pwnlinkPWNlink is now installed!UsagePWNlink can automatically find a router when run. If you want to specify an IP address instead, pass it as an argument to thepwnlinkcommand. Everything else is automatic.
Package: pwn-machine
PwnMachinePwnMachine is a self hosting solution based on docker aiming to provide an easy to use pwning station for bughunters.The basic install include a DNS server, a reverse proxy and a webserver.RequirementsOn your home computerdocker-machinesshfs (optional)python3docker-composeYou need to create a docker-machine for your server.docker-machinecreate\--drivergeneric\--generic-ip-address=0.0.0.0\--generic-ssh-user=root\--generic-ssh-key=/home/user/.ssh/id_rsa\your_machine_nameFor more information:https://docs.docker.com/machine/drivers/generic/On your serverrequired available port:tcp:8044353udp:53On a fresh Ubuntu server installation systemd listen on port 53 you will need to shut the service down and change your dns.systemctldisable--nowsystemd-resolved.serviceecho"nameserver 208.67.222.222">/etc/resolv.conf#opendns serversDNSYou must set your host as your authoritative nameserver.
You must wait for the DNS propagation or the domain verification by let's encrypt will fail.InstallationFirst install the pm client.pipinstallpwn-machineor for a cutting edge build:gitclonehttps://github.com/yeswehack/pwn-machine/cdpwn-machine
pipinstall.On your first run you need to setup PwnMachine withpmsetupThis will start an interactive installer. The installer will create the configuration directory and add the required environment variable and autocompletion to your shell init file.Then you can build and start all your services.pmservicebuild
pmservicestartYou can check that everything is running withpmpsCheck thewikifor more informations.
Package: pwnpy
pwnpywardriving toolfeatures:fully automaticmodularLiPo SHIMyou might want to usethis2.13 inch ePaper displayshow and tellhow to..... installpip3installpwnpy...use itpwnpy-cconfig.json... use the WiFi module without root# set capabilities for our python executablesetcapcap_net_raw=eip/usr/bin/python3... use the BT module without root# add the pi user to the bluetooth group and rebootsudousermod-a-Gbluetoothpi;reboot
Package: pwnsandbox
PwnSandboxForCTFYet another sandbox for CTF challenge in AWD modeThis is a ptrace sandbox.(It was a chroot sandbox)It will send SIG_KILL under certain circumstances:Child process attempting to open files with 'flag' in its name by open/openat/name_to_handle_at. (/tmp/asdflagasd etc.)Child process attempting to create a symlink or hardlink for file with 'flag' in its name by symlink/symlinkat/link.Child process attempting to call illegal syscall. (execve/execveat/stub_execveat)ELF64 and ELF32 supported, including PIEInstallationpipinstallpwnsandboxorpythonsetup.pyinstallIt will install a console script 'pwn_sandbox'.Usageusage:pwn_sandbox[-h]input_bin

YetanotherpwnsandboxforCTFby@unamer(https://github.com/unamer)positionalarguments:input_bin/path/to/your/inputbinary

optionalarguments:-h,--helpshowthishelpmessageandexitThere will be a binary output named binary_sandbox in your binary's folderRequirementpython 2.7pwntoolsliefAlready included in project cause newest liefsucks.Known issuesCentosNOT supportedMight crash on ELF contains multi loadable segments. (I haven't seen this type of ELF yet)Sandbox might be bypassable, but it isn't designed as an impenetrable shield anyway. (issues are welcome.)DO NOT use newest lief or you will be fucked when processing non-pie ELF32 file.TODOFind a clean method to jump back to oepNew method to support centosChangelog[0.3] - 2019-01-08AddedVarious bug fix.Add more syscall in filter scope.[0.2] - 2019-01-07AddedUpdate project description.Revert lief version.[0.1] - 2019-01-05AddedReconstruct project.Initial ptrace sandbox.
Package: pwntools
pwntools - CTF toolkitPwntools is a CTF framework and exploit development library. Written in Python, it is designed for rapid prototyping and development, and intended to make exploit writing as simple as possible.frompwnimport*context(arch='i386',os='linux')r=remote('exploitme.example.com',31337)# EXPLOIT CODE GOES HEREr.send(asm(shellcraft.sh()))r.interactive()DocumentationOur documentation is available atdocs.pwntools.comA series of tutorials is alsoavailable onlineTo get you started, we've provided some example solutions for past CTF challenges in ourwrite-ups repository.InstallationPwntools is best supported on 64-bit Ubuntu LTS releases (14.04, 16.04, 18.04, and 20.04).  Most functionality should work on any Posix-like distribution (Debian, Arch, FreeBSD, OSX, etc.).Python3 is suggested, but Pwntools still works with Python 2.7.  Most of the functionality of pwntools is self-contained and Python-only.  You should be able to get running quickly withapt-getupdate
apt-getinstallpython3python3-pippython3-devgitlibssl-devlibffi-devbuild-essential
python3-mpipinstall--upgradepip
python3-mpipinstall--upgradepwntoolsHowever, some of the features (assembling/disassembling foreign architectures) require non-Python dependencies.  For more information, see thecomplete installation instructions here.ContributionSeeCONTRIBUTING.mdContact and CommunityIf you have any questions not worthy of abug report, join the Discord server athttps://discord.gg/96VA2zvjCB
Package: pwntools-dbg-r2
pwntools-dbg-r2A pip package that lets pwntools use r2 as a debuggerInstallpip install pwntools-dbg-r2How to useNew instance everytimefrompwnimport*fromr2dbgimport*p=r2dbg('/bin/ls')...Existing r2 instanceRun. `!r2-session <port>`inside the r2 instanceSpecify r2port when debugging:frompwnimport*fromr2dbgimport*p=r2dbg('/bin/ls',r2port=<port>)...OptionsSame options aspwnlib.gdb.debug
Package: pwntools-elf-only
pwntools - CTF toolkitFork of the Main-Project withreduced dependencies for windows & 32-bit ARM Linux distrosonly focussed on ELF-features (other parts get removed or altered when causing trouble)How to publish at pypiincrement .version and setup.py -> 4.12.#devpush to devChangesmake compatible with newest pyelftools v0.30remove dependencies: mako, ropgadget, pyserial, pip, zstandard, pathlib2, paramiko, capstone, pysocks, unicornclean readme.md, pyproject.toml and .github-directory
Package: pwntools-r2
pwntools-r2Launchradare2frompwntools. This has been tested to work in combination withtmux-other combinations may or may not work. Thismightalso work with other setups withouttmuxbut that's not supported currently.Ok How To Use This?Create a new pipenv:pipenv --python 2.7Install this:pipenv install pwntools-r2Enter the virtual environment:pipenv shellCode your 1337 exploit:#!/usr/bin/env python2

from pwntools_r2 import *

r2script = """
#r2.cmd('db sym.main')
#r2.cmd('aaa')
#r2.cmd('V!')
"""

p = r2dbg('./a', r2script=r2script)
p.interactive()Be sure to not forgetinteractive()at the end :)Please note that the commands forr2have to be prefixed with a#. If you want to pass additional parameters, you can use the same in the function prototype ofgdb.debugfrompwntools.Do stuff:python2.7 ./exploit.pyTroubleshootingYou can debug any errors withcontext.log_level = 'DEBUG'via yourpwntoolspython script.If no terminal can be found, try settingcontext.terminalaccordingly - e.g. tourxvtcCreditsThis is based onthisandthis.
Package: pwnurl
Table of ContentsMain FeaturesInstallationConfigurationUsageAuthorsLicenceMain FeaturesTODOInstallationThelatest stable versioncan always be installed or updated to viapip:$pipinstall--upgradepwnurlThelatest development versioncan be installed directly from GitHub:$pipinstall--upgradehttps://github.com/donovan-duplessis/pwnurl/tarball/masterConfigurationYou need to set thePWNURL_SETTINGSenvironment variable to point to the
configuration file:$exportPWNURL_SETTINGS=~/.pwnurlrcThe following configuration parameters are vailable:ParameterDescriptionHOSTname=stringHostname or ip address to bind server one.g.HOST = '0.0.0.0'PORTname=integerPort number to bin server one.g.PORT = 5001SECRET_KEYname=sringSecret application key/tokene.g.SECRET_KEY = 'yU2Tz4PVMVWlDNceFuH'CACHE_TYPEname=string,Caching implementation (simple|memcached|redis)e.g.CACHE_TYPE = 'simple'SQLALCHEMY_DATABASE_URIname=stringDatabase connection stringe.g.SQLALCHEMY_DATABASE_URI ='sqlite:////tmp/pwnurl.db'UsageInitialize Database:$pwnurldbupgradeCompile Web Assets:$pwnurlassetsclean$pwnurlassetsbuildStart Gunicorn Server:$pwnurlgunicorn[--daemon]Stop Gunicorn Server:$kill-TERM`cat/tmp/pwnurl.pid`AuthorsDonovan du Plessis(@binarytrooper)LicencePlease seeLICENSE.History0.1.0 (2014-01-15)First release on PyPI.
Package: pwploads
IntroductionPwploads is a LGPL licensed library for load cases calculations
in order to develop modern well designs easier and faster. Features are added as they
are needed; suggestions and contributions of all kinds are very welcome.To catch up on the latest development and features, see thechangelog.DocumentationSee here for thecomplete pwploads package documentation.Getting StartedThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.Get pwploadsUsers: Wheels for Python fromPyPIpip install pwploadsDevelopers: Source code fromGithubgit clone https://github.com/pro-well-plan/pwploadsContributingPlease readCONTRIBUTINGfor details on our code of conduct, and the process for submitting pull requests to us.HistoryPwploads was initially written and is maintained byPro Well Plan
ASas a free, simple, easy-to-use way to analyze
load cases along the well that can be tailored to our needs, and as contribution to the
free software community.LicenseThis project is licensed under the GNU Lesser General Public License v3.0 - see theLICENSEfile for detailsfor further information contactjuan@prowellplan.com
Package: pwproxy
pwproxy基于playwright实现mitmproxy的核心功能:请求拦截,响应篡改优点基于playwright，直接调用本地浏览器，不用以设置代理的方式启动浏览器, mitmproxy必须以冷启动设置代理的方法启动本地浏览器才能实现拦截不需要考虑安全证书的问题安装pip install pwproxy使用目录结构:├─run.py├─demo.py# run.pyfrompwproxy.runimportRunRun.run("demo.py",url="http://example.com/")# demo.pyfromplaywright.sync_apiimportRoutedefreplace_resp(route:Route):if"http://example.com/"inroute.request.url:response=route.fetch()body=response.text()body=body.replace("Example Domain","Goodo")route.fulfill(body=body)addons=[replace_resp]
Package: pwptemp
ContributorsJuan Camilo Gonzalez Angarita-jcamiloangaritaMuhammad Suleman-msfazalEirik Lyngvi-elyngviMagnus Tvedt-magnusbjSee the full list ofcontributorsinvolved in this project.IntroductionPwptemp is a LGPL licensed library for easy calculation of the
temperature distribution along the well. Features are added as they
are needed; suggestions and contributions of all kinds are very welcome.To catch up on the latest development and features, see thechangelog.DocumentationSee here for thecomplete pwptemp package documentation.Getting StartedThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.Get pwptempUsers: Wheels for Python fromPyPIpip install pwptempDevelopers: Source code fromGithubgit clone https://github.com/pro-well-plan/pwptempQuick UseTake a look at thetutorialto check how to use the different functions available.ContributingPlease readCONTRIBUTINGfor details on our code of conduct, and the process for submitting pull requests to us.HistoryPwptemp was initially written and is maintained byPro Well Plan
ASas a free, simple, easy-to-use way of getting
temperature data that can be tailored to our needs, and as contribution to the
free software community.LicenseThis project is licensed under the GNU Lesser General Public License v3.0 - see theLICENSEfile for detailsfor further information contactjuan@prowellplan.com
Package: pwrdrvr.microapps.releaseappcdk
OverviewExample / basic Next.js-based Release app for theMicroApps framework.Table of ContentsOverviewScreenshotTry the AppVideo Preview of the AppFunctionalityInstallationInstallation of CDK ConstructNode.js TypeScript/JavaScriptAdd the Construct to your CDK StackScreenshotTry the AppLaunch the AppVideo Preview of the AppFunctionalityLists all deployed applicationsShows all versions and rules per applicationAllows setting thedefaultrule (pointer to version) for each applicationInstallationExample CDK Stack that deploys@pwrdrvr/microapps-app-release:Deploying the MicroAppsAppRelease CDK Construct on the MicroApps CDK ConstructThe application is intended to be deployed upon theMicroApps frameworkand it operates on a DynamoDB Table created by the MicroApps framework. Thus, it is required that there be a deployment of MicroApps that can receive this application. Deploying the MicroApps framework and general application deployment instructions are covered by the MicroApps documentation.The application is packaged for deployment via AWS CDK and consists of a single Lambda function that reads/writes the MicroApps DynamoDB Table.The CDK Construct is available for TypeScript, DotNet, Java, and Python with docs and install instructions available on@pwrdrvr/microapps-app-release-cdk - Construct Hub.Installation of CDK ConstructNode.js TypeScript/JavaScriptnpmi--save-dev@pwrdrvr/microapps-app-release-cdkAdd the Construct to your CDK StackSeecdk-stackfor a complete example used to deploy this app for PR builds.import{MicroAppsAppRelease}from'@pwrdrvr/microapps-app-release-cdk';constapp=newMicroAppsAppRelease(this,'app',{functionName:`microapps-app-${appName}${shared.envSuffix}${shared.prSuffix}`,table:dynamodb.Table.fromTableName(this,'apps-table',shared.tableName),nodeEnv:shared.envasEnv,removalPolicy:shared.isPR?RemovalPolicy.DESTROY:RemovalPolicy.RETAIN,});
Package: pwrentch.FileReferences
pwrentch.FileReferencespwrentch.FileReferences adds a browser view to your Plone site that produces a report showing all of the File and Image items in your site, or sub-folder of your site. Along with each item it also shows any content items in the site that link to that File or Image item.This report can be useful in assessing the types of files and images your content editors have added to the site. It can also be useful if you’re looking to remove or replace a certain file or image and need to know what other content links to it.InstallationDependenciesPlone 4.1+This product has been tested with Plone 4.1.4 and should work with anything newer.Install stable version via BuildoutAddpwrentch.FileReferencesto the eggs section of your buildout configurationRun buildoutRestart ZopeGo to the Site Setup page in the Plone interface and click on the Add Ons link.
Choose “File References” (check its checkbox) and click the Install button.Using the latest development versionClone the repository from GitHub into the src folderAddpwrentch.FileReferencesto the eggs section of your buildout configurationAddsrc/pwrentch.FileReferencesto the develop section of your buildout configurationRun buildoutRestart ZopeGo to the Site Setup page in the Plone interface and click on the Add Ons link.
Choose “File References” (check its checkbox) and click the Install button.SecurityThe view is hard coded to require the “Modify Portal Content” permission. Thus users must be logged in and have the Editor role in order to view the report.UsageAdd@@reflistto the end of any folder’s URL to view the report of all the File and Image items in that folder and its sub-folders.Click the “customize” link at the top of the page to choose to include/exclude File and/or Image items and to limit the type of documents displayed by their file type. File types are determined by filename extension and/or mime type.SupportCode repository:https://github.com/paulrentschler/pwrentch.FileReferencesQuestions and comments: paul _ at _ rentschler _ dot _ wsReport bugs:https://github.com/paulrentschler/pwrentch.FileReferences/issuesLicenseDistributed under the GPL.See LICENSE.txt and LICENSE.GPL for details.Change History1.0.3 (2014-02-06)Resolving more packaging problems1.0.2 (2014-02-05)Converted documentation to reStructured text instead of MarkDownPackaging for PyPI works now1.0.1 (2014-02-05)Updated installation instructionsPackaged for PyPI and Plone.orgRemoved the “docs” directory as it was unnecessary1.0 (2014-01-17)Created product with ZopeSkelProvides a list of File and Image objects in the current folderShows what content items link to those File and Image objectsReport options dialog allows user to select which portal types and document types to includeDownload