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

Gallopsled / pwntools / 94fc5d27695d64acabbe84c03aa12fa24f704b3b
19%

Build:
DEFAULT BRANCH: dev
Ran 16 Jul 2023 06:53PM UTC
Jobs 1
Files 149
Run time 2s
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

pending completion
94fc5d27695d64acabbe84c03aa12fa24f704b3b

push

github-actions

web-flow
Update ssh.py (#1946)

Two minor changes were made in the commit:
- `which` was replaced with `command -v`
- Minor bug fix

## Why bother with `which` ?
- `POSIX` compatible
-  `which` is an external process you're launching for doing very little (meaning builtins like hash, type or command are way cheaper), you can also rely on the builtins to actually do what you want, while the effects of external commands can easily vary from system to system.
- Many operating systems have a which that doesn't even set an exit status, meaning the if which foo won't even work there and will always report that foo exists, even if it doesn't (note that some POSIX shells appear to do this for hash too).
- Many operating systems make which do custom and evil stuff like change the output or even hook into the package manager.

Reference [here](https://stackoverflow.com/a/677212)

Co-authored-by: Debjeet Banerjee <debjeetbanerjee06042001@gmail.com>

3904 of 6419 branches covered (60.82%)

3 of 3 new or added lines in 1 file covered. (100.0%)

12259 of 16710 relevant lines covered (73.36%)

0.73 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
68.66
-1.05% pwnlib/tubes/ssh.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
77.78
2.78% pwnlib/atexit.py
1
71.15
-1.92% pwnlib/commandline/asm.py
1
79.25
-1.89% pwnlib/commandline/cyclic.py
1
96.0
-4.0% pwnlib/commandline/hex.py
1
84.88
-0.58% pwnlib/commandline/shellcraft.py
1
72.73
-4.2% pwnlib/filesystem/path.py
1
0.0
0.0% pwnlib/gdb_api_bridge.py
1
76.92
-0.06% pwnlib/log.py
1
78.57
-3.25% pwnlib/qemu.py
1
87.61
-0.06% pwnlib/rop/rop.py
1
43.16
-1.05% pwnlib/term/keymap.py
1
68.88
-0.81% pwnlib/tubes/process.py
1
86.89
-0.75% pwnlib/util/crc/__init__.py
1
96.45
-0.69% pwnlib/util/cyclic.py
1
97.62
21.43% pwnlib/util/safeeval.py
1
73.21
-0.89% pwnlib/util/sh_string.py
2
22.61
-5.23% pwnlib/adb/adb.py
2
92.68
-1.5% pwnlib/encoders/i386/ascii_shellcode.py
2
53.33
-6.67% pwnlib/internal/dochelper.py
2
24.47
0.23% pwnlib/term/readline.py
3
91.67
-2.98% pwnlib/shellcraft/internal.py
3
87.37
-3.35% pwnlib/term/text.py
4
75.77
-1.04% pwnlib/elf/corefile.py
4
81.25
-1.21% pwnlib/filesystem/ssh.py
4
28.7
-4.43% pwnlib/protocols/adb/__init__.py
4
91.71
-1.1% pwnlib/util/fiddling.py
5
42.11
-13.16% pwnlib/atexception.py
5
68.66
-1.05% pwnlib/tubes/ssh.py
6
65.9
-1.18% pwnlib/term/term.py
10
84.13
-8.0% pwnlib/shellcraft/__init__.py
10
75.98
-1.96% pwnlib/util/packing.py
11
76.43
-2.3% pwnlib/tubes/tube.py
Jobs
ID Job ID Ran Files Coverage
1 94fc5d27695d64acabbe84c03aa12fa24f704b3b.1 16 Jul 2023 06:53PM UTC 149
73.36
Source Files on build 94fc5d27695d64acabbe84c03aa12fa24f704b3b
  • Tree
  • List 149
  • Changed 62
  • Source Changed 0
  • Coverage Changed 62
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 94fc5d27 on github
  • Prev Build on dev (#5562955833)
  • Next Build on dev (#5569248279)
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

© 2025 Coveralls, Inc