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.

This maybe caused by not completely installed ancypwn. [SOLUTION]

See original GitHub issue
$ sudo ancypwn run .
sh: xhost: command not found
This maybe caused by not completely installed ancypwn.
Have you read https://github.com/Escapingbug/ancypwn?

Traceback (most recent call last):
  File "/usr/local/bin/ancypwn", line 11, in <module>
    load_entry_point('ancypwn==0.2.5', 'console_scripts', 'ancypwn')()
  File "/Users/danielsmith/Library/Python/2.7/lib/python/site-packages/ancypwn.py", line 272, in main
    parse_args()
  File "/Users/danielsmith/Library/Python/2.7/lib/python/site-packages/ancypwn.py", line 110, in parse_args
    args.func(args)
  File "/Users/danielsmith/Library/Python/2.7/lib/python/site-packages/ancypwn.py", line 234, in run_pwn
    raise e
KeyError: 'DISPLAY'

If you can’t run a ancypwn with this error, you can try this command

$ export DISPLAY=0
$ sudo ancypwn run .
sh: xhost: command not found
Warning: Unable to get terminal size, you need to specify terminal size manually or your command line may behave strangely

 ________      ________       ________       ___    ___  ________    ___       __       ________      
|\   __  \    |\   ___  \    |\   ____\     |\  \  /  /||\   __  \  |\  \     |\  \    |\   ___  \    
\ \  \|\  \   \ \  \\ \  \   \ \  \___|     \ \  \/  / /\ \  \|\  \ \ \  \    \ \  \   \ \  \\ \  \   
 \ \   __  \   \ \  \\ \  \   \ \  \         \ \    / /  \ \   ____\ \ \  \  __\ \  \   \ \  \\ \  \  
  \ \  \ \  \   \ \  \\ \  \   \ \  \____     \/  /  /    \ \  \___|  \ \  \|\__\_\  \   \ \  \\ \  \ 
   \ \__\ \__\   \ \__\\ \__\   \ \_______\ __/  / /       \ \__\      \ \____________\   \ \__\\ \__\
    \|__|\|__|    \|__| \|__|    \|_______||\___/ /         \|__|       \|____________|    \|__| \|__|
                                           \|___|/                                                    
        
root@linuxkit-025000000001:/pwn#

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
Escapingbugcommented, Dec 9, 2018

Ok, macos is not supported yet. But I’m working on it. My teammate has already get it running and with the terminal support. I will do some updates shortly after I solved this unfinished CTF challenge…

1reaction
Escapingbugcommented, Dec 17, 2018

OK, thanks.

I’m having a fever today, then I probably will push script to pypi the next day!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ancypwn · PyPI
Ancypwn docker image manipulation script, to simplify docker pwn environment management. Navigation. Project description; Release history; Download files ...
Read more >
Things to consider before buying a car from auto dealers
A used car auction is usually full of salvaged cars that banks have taken away from their owners due to non-payment of bank...
Read more >
awesome-cyber-security: A repository from Istom1n - Geeks
Github shows less than 4000 lines, and more than 5000 lines is missing. Please download Readme.md and open it in markdown viewer to...
Read more >
Alternatives and detailed information of Picoctf - GitPlanet
Ancypwn. Script to setup pwn environment for CTF with Docker ... may template the specific buffer size so a solution for inst_i will...
Read more >
朋友要的游戏的目录_wphoto2003_新浪博客- 新浪通行证登录
Here's why that may be a good--and not-so-good--thing ) [Adventure] Giger, ... Using a PC emulator is the safest way to install FreeDOS...
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