-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save output to path #68
Conversation
Thanks for submitting a PR @cgeopapa - give me a few days to take a look at it. |
Hey @cgeopapa I just pushed some updates to the PR. I might have a few smaller tweaks, but it's mostly done.
Take it for a spin and let me know what you think. |
You ever get a chance to test the code @cgeopapa ? |
pagodo.py
Outdated
if self.save_urls_to_file is None: | ||
self.save_urls_to_file = f"{self.base_file_name}.txt" | ||
|
||
import ipdb;ipdb.set_trace() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line launches ipdb terminal and script does not continue execution. Specifically:
> /home/cgeo/Projects/pagodo/pagodo.py(135)__init__()
134 # Assign log level.
--> 135 ROOT_LOGGER.setLevel((6 - self.verbosity) * 10)
136
ipdb>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch
Thank you for the PR @cgeopapa! |
Changed the behavior of
-o
and-s
options. They now receive a path as an argument for the path to save the resulting file. JSON file is now updated with every new Google search. README.md is also updated to reflect these changes.Example usage:
python pagodo.py -g dorks/all_google_dorks.txt -s ~/pagodo/results.txt -o ~/some_folder/pagodo_results.json