[GH-ISSUE #62] open /root/mosint-config.json: no such file or directory #161

Closed
opened 2026-03-01 17:37:55 +03:00 by kerem · 12 comments
Owner

Originally created by @Aboudertyu on GitHub (Jan 23, 2023).
Original GitHub issue: https://github.com/alpkeskin/mosint/issues/62

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

Originally created by @Aboudertyu on GitHub (Jan 23, 2023). Original GitHub issue: https://github.com/alpkeskin/mosint/issues/62 When i run the command go run main. Go and email Reply to me open /root/mosint-config.json: no such file or directory
kerem closed this issue 2026-03-01 17:37:55 +03:00
Author
Owner

@DeveloperBlue commented on GitHub (Jan 24, 2023):

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": ""
}
<!-- gh-comment-id:1401750287 --> @DeveloperBlue commented on GitHub (Jan 24, 2023): 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: ```json { "Breachdirectory": "", "Emailrep": "", "Hunter": "", "Intelx": "", "Psbdmp": "" } ```
Author
Owner

@Aboudertyu commented on GitHub (Jan 24, 2023):

thank you The best programmer

<!-- gh-comment-id:1402359560 --> @Aboudertyu commented on GitHub (Jan 24, 2023): thank you The best programmer
Author
Owner

@naheenwaqas789 commented on GitHub (Apr 22, 2023):

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

<!-- gh-comment-id:1518753242 --> @naheenwaqas789 commented on GitHub (Apr 22, 2023): open /root/mosint-config.json: no such file or directory exit status How to solve this,plz guide??
Author
Owner

@RokeJulianLockhart commented on GitHub (May 22, 2023):

@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": ""
	}
'@
<!-- gh-comment-id:1557416366 --> @RokeJulianLockhart commented on GitHub (May 22, 2023): @naheenwaqas789, https://github.com/alpkeskin/mosint/issues/62#issuecomment-1401750287: ```PS1 New-Item -Path "$HOME" -Name 'mosint-config.json' -ItemType 'File' -Value @' ``` <blockquote> ```JSONC { "Breachdirectory": "", "Emailrep": "", "Hunter": "", "Intelx": "", "Psbdmp": "" } ``` </blockquote> ```PS1 '@ ```
Author
Owner

@RokeJulianLockhart commented on GitHub (May 22, 2023):

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" example@example.com
                                  _           _
        _ __ ___     ___    ___  (_)  _ __   | |_
       | '_ ` _ \   / _ \  / __| | | | '_ \  | __|
       | | | | | | | (_) | \__ \ | | | | | | | |_
       |_| |_| |_|  \___/  |___/ |_| |_| |_|  \__|
    
    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

<!-- gh-comment-id:1557432886 --> @RokeJulianLockhart commented on GitHub (May 22, 2023): #### 1st Question 1. #### Issue <details> @DeveloperBlue, where is the “expected location”? I ask because ```PS1 New-Item -Path "$HOME/go/bin/" -Name 'mosint-config.json' -ItemType 'File' -Value @' "Breachdirectory": "", "Emailrep": "", "Hunter": "", "Intelx": "", "Psbdmp": "" } '@ ``` doesn't work: ```log 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" example@example.com _ _ _ __ ___ ___ ___ (_) _ __ | |_ | '_ ` _ \ / _ \ / __| | | | '_ \ | __| | | | | | | | (_) | \__ \ | | | | | | | |_ |_| |_| |_| \___/ |___/ |_| |_| |_| \__| 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> ``` </details> 1. #### Solution The expected location is ```PS1 "$HOME/mosint-config.json" ``` I should have read my own logs. https://github.com/alpkeskin/mosint/issues/62#issuecomment-1557416366 #### 2nd Question 1. #### Issue <details> @DeveloperBlue, https://github.com/alpkeskin/mosint/issues/43#issuecomment-1557481567. Think that that's relevant to your config template, or a separate issue? </details> 1. #### Resolution https://github.com/alpkeskin/mosint/issues/43
Author
Owner

@alpkeskin commented on GitHub (Sep 19, 2023):

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

<!-- gh-comment-id:1726544810 --> @alpkeskin commented on GitHub (Sep 19, 2023): Bugs have been fixed in the new version (v3.0.0). Ensure the config file is configured correctly for **Mosint** to work properly.
Author
Owner

@nathaliejennings commented on GitHub (Oct 23, 2023):

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

<!-- gh-comment-id:1775861917 --> @nathaliejennings commented on GitHub (Oct 23, 2023): Hi! I'm new to programming so I don't know much... How do I config file
Author
Owner

@RokeJulianLockhart commented on GitHub (Oct 24, 2023):

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

@nathaliejennings, github.com/alpkeskin/mosint@dd331ba3df/README.md (configuration-file) should inform you.

<!-- gh-comment-id:1776362949 --> @RokeJulianLockhart commented on GitHub (Oct 24, 2023): > https://github.com/alpkeskin/mosint/issues/62#issuecomment-1775861917 @nathaliejennings, https://github.com/alpkeskin/mosint/blob/dd331ba3df1e60b27bc80fdbe6e15cd91804a113/README.md#configuration-file should inform you.
Author
Owner

@ElSombreritoo commented on GitHub (Dec 15, 2023):

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

<!-- gh-comment-id:1858096510 --> @ElSombreritoo commented on GitHub (Dec 15, 2023): 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
Author
Owner

@RokeJulianLockhart commented on GitHub (Dec 15, 2023):

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

@ElSombreritoo, isn't that a different issue?

<!-- gh-comment-id:1858288709 --> @RokeJulianLockhart commented on GitHub (Dec 15, 2023): > https://github.com/alpkeskin/mosint/issues/62#issuecomment-1858096510 @ElSombreritoo, isn't that a different issue?
Author
Owner

@JPR300 commented on GitHub (May 1, 2024):

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?

<!-- gh-comment-id:2088095952 --> @JPR300 commented on GitHub (May 1, 2024): 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?
Author
Owner
<!-- gh-comment-id:2088326989 --> @RokeJulianLockhart commented on GitHub (May 1, 2024): > 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mosint#161
No description provided.