annotate contrib/splicex/EXAMPLES @ 922:15fdec941b3c draft

welcome /voxanon :-)
author Nick <nick@somerandomnick.ano>
date Wed, 15 Feb 2012 05:13:38 +0000
parents 93a5484092a2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
678
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
1 # This is rather basic so best to start here.
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
2
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
3 splicex -command='unrar -pPASSWORD t file.rar' --test='All OK' -R
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
4
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
5
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
6 # you can then add a wordlist of your own :-)
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
7 # using the appropriate options
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
8
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
9 --dictionary='wordlist.txt'
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
10
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
11 # create a dictionary
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
12
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
13 --create
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
14
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
15
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
16 # you can use some nice bash flexibility with a command like this.
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
17 # the option --flags should make sense on their own. if not
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
18 # --rtfm works ;-). splicex is reasonably documented.
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
19
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
20 splicex --command='echo PASSWORD | aircrack-ng -b 00:11:22:33:44:55 -w - *.cap' --wep-5 --wep-13 --no-char --dictionary='MyWords.txt' --test='KEY FOUND'
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
21
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
22 #some funny things you can do with splicex ;-)
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
23 splicex --command='figlet PASSWORD' -L
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
24
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
25 ##use splicex as a simple daemon
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
26 ##!/bin/bash
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
27 #
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
28 #MyFunction() {
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
29 # while true; do
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
30 # splicex --command='ping -c1 www.example.com ; sleep 1 # PASSWORD' --test='some output' --exh-n
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
31 # done
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
32 # etc, etc
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
33
93a5484092a2 removed splice3 and added splicex
resdb <resdb@d3v11-VM.(none)>
parents:
diff changeset
34