question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Erroring when running modules and autocompletion

See original GitHub issue

Bug Description

Attempting to run any module from pwncat results in python errors. Using any tab completion in pwncat results in blank space

pwncat version

Docker pwncat built from git repo.

$ pwncat --version
0.4.3

Target System (aka “victim”)

Any windows or linux machines

Steps to Reproduce

Steps to reproduce the behavior:

  1. Establish reverse shell.
  2. Ctrl + D to go to pwncat local shell
  3. Keying in “run enumerate.” followed by tab key gives blank space for auto completion
  4. Entering “run enumerate.gather types=file.suid” doesn’t run the module but rather gives python errors

Expected Behavior

Able to run pwncat module and use auto complete features

Screenshots

After hitting tab image After running “run enumerate.gather types=file.suid” image

Also if you require the full log please tell me if need. Thanks!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
3m0W33Dcommented, Jul 25, 2021

I am not sure if this helps but I have tried building and changing the alpine version to latest/3.14.0 and this installed python3.9 by default which fixes the auto completion issue. For the current version 3.13.5, even doing apk update still installs python3.8. However, I do not know if pwncat relies on anything that is only available in alpine 3.13.5. Perhaps you be better informed if there are such dependencies.

1reaction
Mitul16commented, Jul 25, 2021

We can add apk update in the current Dockerfile to install the latest python3 package for the current alpine image I do not have much experience with docker, I will test it first.

RUN apk update && apk add --upgrade python3
Read more comments on GitHub >

github_iconTop Results From Across the Web

Typescript intellisense and autocomplete not working #29284
My tsserver logs looks like this where it is erroring: Info 9 Search path: /path/to/project/src/modules. Info 10 Config file name: ...
Read more >
Intellisense doesn't work at all with C++20 Modules
An issue with the source scanner that builds the module dependency graph to build dependent modules/header units; An issue canonicalizing internal arguments ......
Read more >
Node.js - autocomplete does not work right for local ...
The completion actually works pretty well, but I think the parser is erroring on require for local node_modules. (See the above comment and...
Read more >
Issue 15383: Autocompletion crashes Python if the __builtins__ ...
If you try to use autocomplete, Python hangs before crashing. I realize that doing such is pointless, but it behaves differently than interactive...
Read more >
PowerShell PowerTip: ISE crashing and auto complete not ...
To try it run as an admin and do this: Install-Module -Name PowerShellISE-preview ISEP. Then go ahead and pin it while you wait...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found