mosint icon indicating copy to clipboard operation
mosint copied to clipboard

open /root/mosint-config.json: no such file or directory

Open Aboudertyu opened this issue 3 years ago • 2 comments

When i run the command go run main. Go and email Reply to me open /root/mosint-config.json: no such file or directory

Aboudertyu avatar Jan 23 '23 22:01 Aboudertyu

I ran into the same issue on both Windows and on another attempt using WSL.

My workaround was just to create a mosint-config.json file in the expected location, and filled it with this data:

{
   "Breachdirectory": "",
   "Emailrep": "",
   "Hunter": "",
   "Intelx": "",
   "Psbdmp": ""
}

DeveloperBlue avatar Jan 24 '23 11:01 DeveloperBlue

thank you The best programmer

Aboudertyu avatar Jan 24 '23 17:01 Aboudertyu

open /root/mosint-config.json: no such file or directory exit status How to solve this,plz guide??

naheenwaqas789 avatar Apr 22 '23 20:04 naheenwaqas789

@naheenwaqas789, https://github.com/alpkeskin/mosint/issues/62#issuecomment-1401750287:

New-Item -Path "$HOME" -Name 'mosint-config.json' -ItemType 'File' -Value @'
	{
		"Breachdirectory": "",
		"Emailrep": "",
		"Hunter": "",
		"Intelx": "",
		"Psbdmp": ""
	}
'@

RokeJulianLockhart avatar May 22 '23 15:05 RokeJulianLockhart

1st Question

  1. Issue

    @DeveloperBlue, where is the “expected location”? I ask because

    New-Item -Path "$HOME/go/bin/" -Name 'mosint-config.json' -ItemType 'File' -Value @'
    		"Breachdirectory": "",
    		"Emailrep": "",
    		"Hunter": "",
    		"Intelx": "",
    		"Psbdmp": ""
    	}
    '@
    

    doesn't work:

    PS /home/rokejulianlockhart> New-Item -Path "$HOME/go/bin/" -Name 'mosint-config.json' -ItemType 'File' -Value @"
    >> "Breachdirectory": "",
    >> "Emailrep": "",
    >> "Hunter": "",
    >> "Intelx": "",
    >> "Psbdmp": ""
    >> }
    >> "@
    
        Directory: /home/rokejulianlockhart/go/bin
    
    UnixMode   User             Group                 LastWriteTime           Size Name
    --------   ----             -----                 -------------           ---- ----
    -rw-r--r-- rokejulianlockha rokejulianlockha   22/05/2023 16:28             81 mosint-config.json
               rt               rt
    
    PS /home/rokejulianlockhart> & "$HOME/go/bin/mosint" [email protected]
                                  _           _
        _ __ ___     ___    ___  (_)  _ __   | |_
       | '_ ` _ \   / _ \  / __| | | | '_ \  | __|
       | | | | | | | (_) | \__ \ | | | | | | | |_
       |_| |_| |_|  \___/  |___/ |_| |_| |_|  \__|
    
    v2.3
    https://github.com/alpkeskin/
    Now: Monday, 22 May 2023
       0% |                                                                            | (0/100, 0 it/hr) [0s:0s]2023/05/22 16:29:25 open /home/rokejulianlockhart/mosint-config.json: no such file or directory
    PS /home/rokejulianlockhart>
    
  2. Solution

    The expected location is

    "$HOME/mosint-config.json"
    

    I should have read my own logs.

    https://github.com/alpkeskin/mosint/issues/62#issuecomment-1557416366

2nd Question

  1. Issue

    @DeveloperBlue, https://github.com/alpkeskin/mosint/issues/43#issuecomment-1557481567. Think that that's relevant to your config template, or a separate issue?

  2. Resolution

    https://github.com/alpkeskin/mosint/issues/43

RokeJulianLockhart avatar May 22 '23 15:05 RokeJulianLockhart

Bugs have been fixed in the new version (v3.0.0). Ensure the config file is configured correctly for Mosint to work properly.

alpkeskin avatar Sep 19 '23 21:09 alpkeskin

Hi! I'm new to programming so I don't know much... How do I config file

nathaliejennings avatar Oct 23 '23 19:10 nathaliejennings

https://github.com/alpkeskin/mosint/issues/62#issuecomment-1775861917

@nathaliejennings, https://github.com/alpkeskin/mosint/blob/dd331ba3df1e60b27bc80fdbe6e15cd91804a113/README.md#configuration-file should inform you.

RokeJulianLockhart avatar Oct 24 '23 01:10 RokeJulianLockhart

hi guys i'm having an issue, it says "package mosint: no Go files in /usr/lib/go-1.21/src/mosint" when i try to execute the program, can someone give me a hand ? Idk what i did wrong

ElSombreritoo avatar Dec 15 '23 15:12 ElSombreritoo

https://github.com/alpkeskin/mosint/issues/62#issuecomment-1858096510

@ElSombreritoo, isn't that a different issue?

RokeJulianLockhart avatar Dec 15 '23 18:12 RokeJulianLockhart

It really isn't clear how you set the config file to neewbies. Can someone please explain exactly what you have to type to get this to work?

JPR300 avatar May 01 '24 07:05 JPR300

https://github.com/alpkeskin/mosint/issues/62#issuecomment-2088095952

@JPR300, does https://github.com/alpkeskin/mosint/issues/62#issuecomment-1401750287 not work? Regardless, https://github.com/alpkeskin/mosint/issues/81#issuecomment-1823555422 might be useful too.

RokeJulianLockhart avatar May 01 '24 11:05 RokeJulianLockhart