Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ptr-yudai committed Jan 3, 2024
1 parent 9545061 commit 2f08676
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Ptrlib is designed to be as library-independent as possible.
Also, ptrlib has some pros such as supporting Windows process.

## Requirements
Supports: Python 3.5 or later
Supports: Python 3.8 or later

Library Dependency:
- pycryptodome
Expand Down Expand Up @@ -108,8 +108,17 @@ sock.sendline(payload)
sock.sh() # or sock.interactive()
```

Interaction with curses is supported since 2.1.0.
```
sock.recvscreen()
if sock.recvscreen(returns=list)[1][1] == '#':
sock.sendctrl("up")
else:
sock.sendctrl("esc")
```

## Install
Run `pip install ptrlib` or `python setup.py install`.
Run `pip install --upgrade ptrlib` or `python setup.py install`.

## Licence

Expand Down
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name='ptrlib',
version='2.0.12',
version='2.1.0',
description='CTF library',
long_description=long_description,
long_description_content_type='text/markdown',
Expand All @@ -19,13 +19,14 @@
author_email='ptr.yudai+dev@gmail.com',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
keywords='pwn crypto algorithm',
packages=find_packages(exclude=['examples', 'tests']),
python_requires='!=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4',
python_requires='>=3.8',
install_requires=['pycryptodome'],
entry_points={
'console_scripts': [
Expand Down

0 comments on commit 2f08676

Please sign in to comment.