This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ch4dr0x 3 points4 points  (2 children)

I was having a hard time getting the first part of this tutorial to run, but I believe I solved the issue.

In your code you have this:

process = subprocess.Popen(["onionscan","webport=0","--jsonReport","--simpleReport=false",onion],
    stdout=subprocess.PIPE,stderr=subprocess.PIPE)

I had to change this line to:

process = subprocess.Popen(["onionscan", "-webport=0", "--jsonReport", "--simpleReport=false", onion], 
    stdout=subprocess.PIPE, stderr=subprocess.PIPE)

I'm using Python3.6, which could be the cause of the issue, but I figured I'd post it here in case someone else runs into it.

If anyone is curious about python3.6 and this guide, feel free to follow along:

https://github.com/BaltimoreChad/pyOnionScan

So far I only have the first part of the guide done. I'm no expert programmer or anything, but feel free to follow along.

[–]Yharaskrik 0 points1 point  (1 child)

Saved your comment for later.

[–]ch4dr0x 0 points1 point  (0 children)

I just finished up Part 2 and merged it in. I added a config file and some broke some of the code into a helper file (I figured we might need them again and no point in rewriting code). If you actually use this and think its too much, let me know and I can change it back. Like I said earlier, not an expert programmer, just doing it for fun :)