Code Monkey home page Code Monkey logo

Comments (28)

jorhelp avatar jorhelp commented on August 16, 2024 2

We will be releasing the latest version soon, which is less problematic

from ingram.

jorhelp avatar jorhelp commented on August 16, 2024 1

the privous OUT_DIR can be delete bysudo rm -rf, after that, when you runa new job, just run ./run_Ingram ...etc... and not add 'sudo', so the OUT_DIR can be direcly removed

from ingram.

surfer663 avatar surfer663 commented on August 16, 2024 1

hi sir i got usernames and passwords but when i use IE to login i cant view the cameras why is that or what to do to view

dont worry sir i updated the camera plugin and it works now

from ingram.

jorhelp avatar jorhelp commented on August 16, 2024

Hi, if you want to run a new job, you must specific a new OUTPUT dir, since the programm will read the output dir and the previous output files will be loaded again.

from ingram.

surfer663 avatar surfer663 commented on August 16, 2024

hi sir thank you for the help i appreciate it

from ingram.

surfer663 avatar surfer663 commented on August 16, 2024

helo sir can the old OUT_DIR be deleted cos when i try the option to delete or move to trash is not available

from ingram.

jorhelp avatar jorhelp commented on August 16, 2024

helo sir can the old OUT_DIR be deleted cos when i try the option to delete or move to trash is not available

Maybe you had ran masscan? masscan need root privilege, and the OUT_DIR cannot be deleted by normal user, sudo rm -rf OUT_DIR can work.

from ingram.

surfer663 avatar surfer663 commented on August 16, 2024

thank u sir for always helping i used this ... ./run_ingram.py --in TARGET --out OUT_DIR --hik_weak --cve_2017_7921 --cve_2021_36260 --th_num 80

from ingram.

jorhelp avatar jorhelp commented on August 16, 2024

That's strange. I didn't expect where is the problem for the time being.😬😬

from ingram.

surfer663 avatar surfer663 commented on August 16, 2024

when i use Ctrl c to cancel or stop then it is paused and can only resume cant start another project the paused.txt cannot be deleted so i created another folder renamed original OUT_DIR1 and created a new OUT_DIR cos cannot delete as long as paused.txt is there

from ingram.

jorhelp avatar jorhelp commented on August 16, 2024

could you pls paste the output of ls -l OUT_DIR

from ingram.

surfer663 avatar surfer663 commented on August 16, 2024

$ ls -l OUT_DIR
total 36
-rw-r--r-- 1 root root 5222 Aug 13 13:15 not_vulnerable.csv
-rw-r--r-- 1 root root 4509 Aug 13 13:11 paused
-rw-r--r-- 1 root root 580 Aug 13 08:31 results_all.csv
-rw-r--r-- 1 root root 348 Aug 13 08:31 results_simple.csv
drwxr-xr-x 2 root root 12288 Aug 13 08:31 snapshots

from ingram.

surfer663 avatar surfer663 commented on August 16, 2024

it seems the job can only be paused and can resume but cannot be stopped to start a new job

from ingram.

jorhelp avatar jorhelp commented on August 16, 2024

i noticed the output files are belong to root,maybe you ran the program by root or sudo,you should delete it by sudo rm -rf OUT_DIR if you are not root user

from ingram.

surfer663 avatar surfer663 commented on August 16, 2024

this is how i ran it
sudo python3 run_ingram.py --in statics/iplist/data/country/US.txt --out OUT_DIR --hik_weak --cve_2017_7921 --cve_2021_36260 --th_num 80
[sudo] password for kali:

from ingram.

jorhelp avatar jorhelp commented on August 16, 2024

better not ran it by root,since it not security.

from ingram.

jorhelp avatar jorhelp commented on August 16, 2024

😀so the 'sudo' can be delete

from ingram.

surfer663 avatar surfer663 commented on August 16, 2024

i did it now
$ python3 run_ingram.py --in statics/iplist/data/country/US.txt --out OUT_DIR --hik_weak --cve_2017_7921 --cve_2021_36260 --th_num 80

this the error

Traceback (most recent call last):
File "/home/kali/Desktop/Ingram/run_ingram.py", line 68, in
run(args)
File "/home/kali/Desktop/Ingram/run_ingram.py", line 59, in run
else: scn = scanner.CameraScanner(args)
File "/home/kali/Desktop/Ingram/scan/scanner.py", line 59, in init
self._preprocess()
File "/home/kali/Desktop/Ingram/scan/scanner.py", line 76, in _preprocess
self.paused = open(os.path.join(self.args.out_path, PAUSE), 'r+')
PermissionError: [Errno 13] Permission denied: 'OUT_DIR/paused'
Exception ignored in: <function CameraScanner.del at 0x7f3c4a379ea0>
Traceback (most recent call last):
File "/home/kali/Desktop/Ingram/scan/scanner.py", line 91, in del
if os.path.exists(os.path.join(self.args.out_path, PAUSE)): self.paused.close()
AttributeError: 'CameraScanner' object has no attribute 'paused'

from ingram.

surfer663 avatar surfer663 commented on August 16, 2024

ok thank you sir i will try that

from ingram.

jorhelp avatar jorhelp commented on August 16, 2024

maybe you can specifc different out dir by your job, for example, if you scan Japan, you can let --out be japan, if you scan china, you can let --out be china.

from ingram.

surfer663 avatar surfer663 commented on August 16, 2024

that a good idea sir i will try that as well...please can you tell me me how i can add my own ip and country list to the HIK_WEAK to scan and also to use the masscan option
thank you

from ingram.

jorhelp avatar jorhelp commented on August 16, 2024

its 2:00 here, i will reply tomorrow, see you later😴😴

from ingram.

surfer663 avatar surfer663 commented on August 16, 2024

no problem thank you sir

from ingram.

jorhelp avatar jorhelp commented on August 16, 2024
  • if you want to use masscan, you should install it by your self first, after that, run:
./run_ingram.py --in TARGET --out OUT_DIR --masscan --port 80,8000-8008 --rate 5000
./run_ingram.py --in OUT_DIR/masscan_res --out OUT_DIR --all --th_num 80
  • if you want to scan some ips, you should add it to the TARGET file, one ip one line; and the statics/iplist/data/country/ dir contain many country's ip, you can take any one of them as the TARGET, such as:
./run_ingram.py --in statics/iplist/data/country/JP.txt --out japan --all --th_num 80

from ingram.

surfer663 avatar surfer663 commented on August 16, 2024

thank you sir i really appreciate the help i tried it and it works perfect.... mayb next ya can do something for the NVR and DVR for truvision and Alibi just a thought lol
many thanks

from ingram.

surfer663 avatar surfer663 commented on August 16, 2024

hi sir i got usernames and passwords but when i use IE to login i cant view the cameras why is that or what to do to view

from ingram.

surfer663 avatar surfer663 commented on August 16, 2024

hi sir can you tell me why im getting this error

[-] FAIL: could not determine default interface
[hint] try "--interface ethX"
Traceback (most recent call last):
File "/home/kali/Desktop/Ingram/run_ingram.py", line 68, in
run(args)
File "/home/kali/Desktop/Ingram/run_ingram.py", line 60, in run
scn()
File "/home/kali/Desktop/Ingram/scan/scanner.py", line 45, in call
self.parse(self.tmp)
File "/home/kali/Desktop/Ingram/scan/scanner.py", line 32, in parse
with open(tmp, 'r') as tf:
FileNotFoundError: [Errno 2] No such file or directory: 'OUT_DIR/masscan_tmp'

from ingram.

WarRaZzer avatar WarRaZzer commented on August 16, 2024

i get every time
PermissionError: [WinError 32]

from ingram.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.