Skip to content
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

Add heirarchy in output folder (based on target) #538

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

rishinair11
Copy link

@rishinair11 rishinair11 commented Jul 12, 2022

Fixes #537

This PR stores the output photos of the photos command, into separate folders in the output directory, based on the target username.

output
├── dont_delete_this_folder.txt
├── target_1
│   ├── 2661892880972654705_1552784059.jpg
│   └── 2690951453557838074_1552784059.jpg
└── target_2
    ├── 2879901569904497617_45635562290.jpg
    └── 2880124787004280963_45635562290.jpg

2 directories, 4 files

@Datalux

@chiragtyagi2021
Copy link

Hey, could you help me please.
How to open the images downloaded in the output folder?
Can I download them to my local machine?

@Datalux
Copy link
Owner

Datalux commented Jul 19, 2022

Hi @rishinair11 nice improvement! Can you also add this feature in v2 branch?

@rishinair11
Copy link
Author

rishinair11 commented Jul 19, 2022

Hi @rishinair11 nice improvement! Can you also add this feature in v2 branch?

Definitely

@rishinair11
Copy link
Author

rishinair11 commented Jul 19, 2022

@Datalux
So I was testing my changes for v2, but I got this error when running Osintgram.

rishinair11@Osintgram % python main.py rishinair11 --command photos

Logged as rishinair11. Target: rishinair11 [<redacted>] [PRIVATE PROFILE] [FOLLOWING]

Traceback (most recent call last):
  File "/Users/rishinair11/Projects/Osintgram/main.py", line 134, in <module>
    'addrs':            api.get_addrs,
AttributeError: 'Osintgram' object has no attribute 'get_addrs'

Also, in VS Code the get_addrs doesn't point to any code reference.
image

I understand that the individual commands have been moved to their own folder with run.py and config.yaml for each. But, I'm not sure how they tie together with the main.py script.
That mini-knowledge would certainly help me to add the changes to v2.

@Datalux
Copy link
Owner

Datalux commented Oct 26, 2022

Hi @rishinair11 sorry for my late reply. Please ignore main.py and use osintgram.py.

@t-abraham
Copy link
Contributor

InstAgent 🔎📸

InstAgent is a tool on Instagram to collect, analyze, and run reconnaissance.

The original developer is Datalux.

Since the original version is more or less inactive, I took the initiative to continue with the developments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants