Jump to content

Recommended Posts

Posted (edited)

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

Edited by OpCode90
Posted

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

Posted (edited)

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?

Edited by OpCode90
Posted

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

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...