Example #1
0
    def fuzz(self):
        try:
            cmd = raw_input("Base NV string: ")
            idx = raw_input("Start index: ")
            var = raw_input("Variable: ")

            if idx == "" or not idx:
                idx = 0
            else:
                idx = int(idx)

            if var == "" or not var:
                var = 0
            else:
                var = int(var)

        except KeyboardInterrupt:
            self.gom.echo("Aborted.")
        except:
            raise

        libfuzz.fuzzCallback(self.fuzzCallback, cmd, idx)

        self.gom.echo()
        self.gom.echo("Fuzzing finished. Any luck?")
        self.gom.echo()
Example #2
0
    def fuzz(self):
        try:
            cmd = raw_input("Base NV string: ")
            idx = raw_input("Start index: ")
            var = raw_input("Variable: ")
            
            if idx == "" or not idx:
                idx = 0
            else:
                idx = int(idx)
                
            if var == "" or not var:
                var = 0
            else:
                var = int(var)

        except KeyboardInterrupt:
            print "Aborted."
        except:
            raise

        libfuzz.fuzzCallback(self.fuzzCallback, cmd, idx)

        print
        print "Fuzzing finished. Any luck?"
        print
Example #3
0
    def fuzz(self):
        self.currentIndex = -1
        for pkt in self.replayList:
            self.currentIndex += 1

            if self.currentIndex < self.startPacket:
                continue

            libfuzz.fuzzCallback(self.fuzzCallback, pkt, 0, 0, 0,
                                 False)  # Fast mode
            libfuzz.fuzzCallback(self.fuzzCallback, pkt, 0, 0, 1,
                                 False)  # Fast mode

        print
        print "Fuzzing done!"

        if self.foundPocs > 0:
            print
            print "A total of %d POC(s) were saved in directory %s" % (
                self.foundPocs, self.pocsDir)
            print
        else:
            print
            print "No luck my friend :( Life sucks..."
            print
Example #4
0
    def fuzz(self):
        cmd = ""
        
        if self.interactive:
            try:
                idx = raw_input("Index?: ")
                idx = int(idx) + 2
            except KeyboardInterrupt:
                print "Aborted."
                return
        else:
            idx = 0

        for cmd in FTP_COMMANDS[idx:]:
            print "Fuzzing cmd %s" % cmd
            libfuzz.fuzzCallback(self.fuzzCallback, cmd + " a", 1)

        print
        print "Fuzzing finished. Any luck?"
        print
Example #5
0
    def fuzz(self):
        cmd = ""

        if self.interactive:
            try:
                idx = raw_input("Index?: ")
                idx = int(idx) + 2
            except KeyboardInterrupt:
                print "Aborted."
                return
        else:
            idx = 0

        for cmd in FTP_COMMANDS[idx:]:
            print "Fuzzing cmd %s" % cmd
            libfuzz.fuzzCallback(self.fuzzCallback, cmd + " a", 1)

        print
        print "Fuzzing finished. Any luck?"
        print
Example #6
0
    def fuzz(self):
        self.currentIndex = -1
        for pkt in self.replayList:
            self.currentIndex += 1
            
            if self.currentIndex < self.startPacket:
                continue

            libfuzz.fuzzCallback(self.fuzzCallback, pkt, 0, 0, 0, False) # Fast mode
            libfuzz.fuzzCallback(self.fuzzCallback, pkt, 0, 0, 1, False) # Fast mode
        
        print
        print "Fuzzing done!"
        
        if self.foundPocs > 0:
            print
            print "A total of %d POC(s) were saved in directory %s" % (self.foundPocs, self.pocsDir)
            print
        else:
            print 
            print "No luck my friend :( Life sucks..."
            print