• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Gallopsled / pwntools / 7185441296
74%

Build:
DEFAULT BRANCH: dev
Ran 12 Dec 2023 06:11PM UTC
Jobs 1
Files 150
Run time 13s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Dec 2023 06:02PM UTC coverage: 74.541% (-0.1%) from 74.65%
7185441296

push

github

web-flow
Detect challenge binary and libc in `pwn template` (#2309)

* Detect challenge binary and libc in `pwn template`

When the `args.exe` or `args.libc` arguments are missing, look for the
files in the current working directory.
This allows to quickly get a template by just running `pwn template`
(and maybe --host --port for remote instances).

This is inspired by https://github.com/io12/pwninit

* Update CHANGELOG

* Add --no-auto argument to disable automatic detection

Allow to keep the old static template behavior.

* Add logging about detection outcome

Inform the user that we're looking for the binaries and if we found one.

* Be more strict about libc filename detection

Check about common name patterns instead of plainly the presence of "libc" in the name.

Co-authored-by: Arusekk <arek_koz@o2.pl>

* Change --no-auto argument to reduce double negation

Co-authored-by: Arusekk <arek_koz@o2.pl>

---------

Co-authored-by: Arusekk <arek_koz@o2.pl>

4564 of 7240 branches covered (0.0%)

4 of 35 new or added lines in 1 file covered. (11.43%)

2 existing lines in 1 file now uncovered.

12836 of 17220 relevant lines covered (74.54%)

0.75 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
31
28.77
-10.82% pwnlib/commandline/template.py

Uncovered Existing Lines

Lines Coverage ∆ File
2
74.29
-0.63% pwnlib/libcdb.py
Jobs
ID Job ID Ran Files Coverage
1 7185441296.1 12 Dec 2023 06:11PM UTC 150
74.54
Source Files on build 7185441296
  • Tree
  • List 150
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 5f5554fa on github
  • Prev Build on dev (#7174243307)
  • Next Build on dev (#7186027800)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc