Peach fuzzing framework example

from Peach import *
from Peach.Transformers import *
from Peach.Generators import *
from Peach.Protocols import *
from Peach.Publishers import *
loginGroup = group.Group()
loginBlock = block.Block()
loginBlock.setGenerators((
static.Static(“USER username\r\nPASS ”),
dictionary.Dictionary(loginGroup, “dict.txt”),
static.Static(“\r\nQUIT\r\n”)
))
loginProt = null.NullStdout(ftp.BasicFtp(‘127.0.0.1’, 21), loginBlock)
script.Script(loginProt, loginGroup, 0.25).go()

Posted in General, security | Tagged , , , , | Comments closed