Skip to content

Commit

Permalink
[ssh.libs] Fix doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
ValekoZ committed Dec 6, 2023
1 parent b755b4e commit 66bc313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pwnlib/tubes/ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -1821,7 +1821,7 @@ def libs(self, remote, directory = None, flatten = False):
Examples:
>>> s = ssh(host='example.pwnme')
>>> s.upload_dir(pwnlib.data.elf.ssh_libs.get("."), "/tmp/ssh_libs")
>>> s.upload_dir(pwnlib.data.elf.ssh_libs.get("."), "/tmp")
>>> s.cwd = "/tmp/ssh_libs"
>>> s.libs(pwnlib.data.elf.ssh_libs.get("duplicate"), "/tmp/out_duplicate") # doctest: +ELLIPSIS
{'.../b/lib.so': ..., '.../a/lib.so': ..., '.../duplicate': ...}
Expand Down

0 comments on commit 66bc313

Please sign in to comment.