hunk.code_window:         UDF.__init__(self)
           Web.__init__(self)
           xp_cmdshell.__init__(self)
       def __cmdShellCleanup(self):
           if not conf.cleanup:
               if kb.dbms in ( "MySQL", "PostgreSQL" ):
                   self.cleanup()
               elif kb.dbms == "Microsoft SQL Server":
                   self.cleanup(onlyFileTbl=True)
               else:
                   errMsg = "Feature not yet implemented for the back-end DBMS"
                   raise sqlmapUnsupportedFeatureException, errMsg
       def execCmd(self, cmd, silent=False, forgeCmd=False):
           if self.webBackdoorUrl and not kb.stackedTest:
               self.webBackdoorRunCmd(cmd)
  
hunk.labels: keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep
hunk.file_path: lib/takeover/abstraction.py
hunk.type: replace
file: # For MySQL < 5.1
  LIBDIR=/usr/lib
  # For MySQL >= 5.1
  #LIBDIR=/usr/lib/mysql/plugin
  
  install:
  	gcc -Wall -I/usr/include/mysql -O1 -shared lib_mysqludf_sys.c -o lib_mysqludf_sys.so
  	strip -sx lib_mysqludf_sys.so
  	cp -f lib_mysqludf_sys.so $(LIBDIR)/lib_mysqludf_sys.so
  