Comments (7)
Do you suggest something or just document the current behaviour? Do you want to toggle the default and not create scripts by default? Or only for a few commands?
I agree "update" and "template" are very generic indeed.
We can filter some weird ones out?
https://github.com/Gallopsled/pwntools/blob/dev/setup.py#L34
from pwntools.
main
and common
should be removed.
As for other "weird ones", IMHO we should avoid installing scripts debug
template
update
version
.
Others may need some discussion.
I do not have a preference about the default behavior (the flag), but, the bash/zsh completion currently only works under pwn subcommand
.
Finally, we should update the doc https://github.com/Gallopsled/pwntools/blob/dev/docs/source/install.rst#command-line-tools
from pwntools.
And it seems installing pwntools through homebrew do not have chance to set --only-use-pwn-command
from pwntools.
Would you mind proposing a pull request please? I don't own a Mac so can't tell for the homebrew install too.
from pwntools.
According to #660, the original plan was to use a single entry point, which is in my favour.
But #701 only added the pwn
entry and did not remove the aliases, to keep backward compatibility.
(The pip install --install-option='--only-use-pwn-command'
now is pip install --config-setting="--build-option=--only-use-pwn-command"
)
Removing scripts in setup.py will take effect at next upgradation. So we need deprecation before actually removing them, in case there are shortcut users.
The two steps:
- remove weird ones; deprecate direct invoking the others
- remove all entries except
pwn
from pwntools.
about distro actions:
- AUR: manually delete everything except
pwn
ref - Debian (Kali): remove the scripts with patch. ref1 and ref2
- Gentoo: use
--only-use-pwn-command
ref - Pentoo: Perhaps same as gentoo?
By the way, there is checksec for checksec, moreutils for errno.
from pwntools.
pip install --config-setting="--build-option=--only-use-pwn-command"
@tkmikan does this command work for you? I still get all of the CLI binaries installed. According to this [1], maybe it actually shouldn't work with install? Hoping to get rid of these annoying CLI binaries except pwn
until this issue gets fully fixed.
from pwntools.
Related Issues (20)
- Test windows-only features in CI
- SSHException("No authentication methods available") HOT 3
- DynELF._lookup returns GOT entry instead of PLT entry
- amd64 considered native architecture on i386 HOT 1
- `Context.log_file` does not allow bytes type HOT 2
- `BitPolynom.__init__` does not allow bytes type
- `CorefileFinder.read` returns bytes instead of str type HOT 1
- `xor` function raises `TypeError: pop expected at least 1 argument, got 0` HOT 2
- Add the ability to specify custom shellcraft templates HOT 2
- Inconsistency detected by ld.so HOT 2
- can't find write-what-where gadgets HOT 2
- [docs bug] Beginning of documentation cuts off for some things (due to "}")
- [docs bug] Many "links to the source" in the docs just link to the file (and not the line)
- [Bug?] FileStructure.struntil one byte shorter for no apparent reason?
- [Windows] Using "Process" raises "AttributeError: module 'os' has no attribute 'getuid'" HOT 2
- context.cyclic_size doesn't update when using context.binary = ELF('./prog') HOT 3
- Pwntools setup on Mac OS HOT 1
- ROP.call execve syscall ignores parameter HOT 5
- execve bug HOT 1
- libcdb print redundant information
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pwntools.