Beispiel #1
0
 def run(self):
     print ""
     self.output.info('Starting bruteforce module...')
     file.File(agent=self.agent,
               proxy=self.proxy,
               redirect=self.redirect,
               timeout=self.timeout,
               url=self.url,
               cookie=self.cookie).run()
     admin.Admin(agent=self.agent,
                 proxy=self.proxy,
                 redirect=self.redirect,
                 timeout=self.timeout,
                 url=self.url,
                 cookie=self.cookie).run()
     backdoor.Backdoor(agent=self.agent,
                       proxy=self.proxy,
                       redirect=self.redirect,
                       timeout=self.timeout,
                       url=self.url,
                       cookie=self.cookie).run()
     bdir.Bdir(agent=self.agent,
               proxy=self.proxy,
               redirect=self.redirect,
               timeout=self.timeout,
               url=self.url,
               cookie=self.cookie).run()
     bfile.Bfile(agent=self.agent,
                 proxy=self.proxy,
                 redirect=self.redirect,
                 timeout=self.timeout,
                 url=self.url,
                 cookie=self.cookie).run()
     dir.Dir(agent=self.agent,
             proxy=self.proxy,
             redirect=self.redirect,
             timeout=self.timeout,
             url=self.url,
             cookie=self.cookie).run()
     log.Log(agent=self.agent,
             proxy=self.proxy,
             redirect=self.redirect,
             timeout=self.timeout,
             url=self.url,
             cookie=self.cookie).run()
Beispiel #2
0
def browse_repo(c, client, working_copy):
    c.update_status_line("loading...")
    d = dir.Dir(client)
    files = d.ls(working_copy)
    if (files is None):
        c.update_status_line(working_copy +
                             " - Not under version control. q: quit")
    else:
        c.update_status_line(working_copy + " - j/k: up/down, q: quit")
        c.print_remote_files(files)

    while True:
        cha = c.screen.getch()
        if cha == ord('q'):
            c.quit()
            sys.exit()
        elif cha == ord('j'):
            c.go_down()
        elif cha == ord('k'):
            c.go_up()