Jump to content

Archived

This topic is now archived and is closed to further replies.

OpCode90

DIP Switch ?

Recommended Posts

I guess this would be classified as a dumb question but what info can I get from you guys on the DIP Switch system. Anyone care to elaborate on syntax and anything that will help us develop our own commands? I searched forums first and google also didn't find a whole lot of info on it.. Thanks for any help guys

Share this post


Link to post
Share on other sites

Sure!

The command you put in there is executed using bash.

That means running "ls -ls > /tmp/ls_output" will do just that.

That also means that running "/etc/my_script.sh" will execute that script.

It's really that simple. The commands are executed on boot.

We actually suggest pointing a DIP at a script rather than a command as it keeps it a bit more clean.

Saying that, updating the DIP UI is on our list to make it more intuitive soon.

Best Regards,

Sebkinne

Share this post


Link to post
Share on other sites

Alright thanks. I'm trying to write a command to continually deauth all APs in range I know how to do it command line I just aren't sure about how to run multiple commands via 1 DIP command. I guess what I need to know is how am I suppose to separate the commands?

Share this post


Link to post
Share on other sites

Alright thanks. I'm trying to write a command to continually deauth all APs in range I know how to do it command line I just aren't sure about how to run multiple commands via 1 DIP command. I guess what I need to know is how am I suppose to separate the commands?

Like you would in bash, with a ; or an && - depends on what you want to do.

Also, it is important that you background long running processes.

If you can do it in the command line, you can do it via a DIP switch. But why not just make a quick script and put this in your DIP configuration:

/path/to/my/script.sh &

Best Regards,

Sebkinne

Share this post


Link to post
Share on other sites

Alright thanks yea I prolly sound dumb here never wrote a bash script. Been using kali since the backtrack r3 days. Got a 3 ring binder with every software manual and command in the help files/manuals for kali

Share this post


Link to post
Share on other sites

Alright another couple dumb question what are the default locations for all the log files? And where do you guys save your scripts USB or SD?

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...