def render_body(self, outfd, data):
     for row_id, baseDomain, appId, inBrowserElement, name, value, host, path, expiry, lastAccessed, creationTime, isSecure, isHttpOnly in data:
         start = sqlite_help.unix_time(creationTime)
         end = sqlite_help.unix_time(lastAccessed)
         cookie = host + " " + path + " " + name + " = " + value
         cookie = cookie.replace("|", "-")
         d = (0, "[FIREFOXCOOKIES] " + cookie, 0, "---------------", 0, 0, 0, 0, end, 0, start)
         csv.writer(outfd,delimiter="|",quoting=csv.QUOTE_NONE,escapechar="\\").writerow(d)
 def render_body(self, outfd, data):
     for row_id, name, source, target, tempPath, startTime, endTime, state, referrer, entityID, currBytes, maxBytes, mimeType, preferredApplication, preferredAction, autoResume in data:
         start = sqlite_help.unix_time(startTime)
         end = sqlite_help.unix_time(endTime)
         download = source + " -> " + target + " (" + str(maxBytes) + " bytes)"
         download = download.replace("|", "-")
         d = (0, "[FIREFOXDOWNLOADS] " + download, 0, "---------------", 0, 0, 0, 0, end, 0, start)
         csv.writer(outfd,delimiter="|",quoting=csv.QUOTE_NONE,escapechar="\\").writerow(d)
 def render_body(self, outfd, data):
     for row_id, baseDomain, appId, inBrowserElement, name, value, host, path, expiry, lastAccessed, creationTime, isSecure, isHttpOnly in data:
         start = sqlite_help.unix_time(creationTime)
         end = sqlite_help.unix_time(lastAccessed)
         cookie = host + " " + path + " " + name + " = " + value
         cookie = cookie.replace("|", "-")
         d = (0, "[FIREFOXCOOKIES] " + cookie, 0, "---------------", 0, 0,
              0, 0, end, 0, start)
         csv.writer(outfd,
                    delimiter="|",
                    quoting=csv.QUOTE_NONE,
                    escapechar="\\").writerow(d)
 def render_body(self, outfd, data):
     for row_id, name, source, target, tempPath, startTime, endTime, state, referrer, entityID, currBytes, maxBytes, mimeType, preferredApplication, preferredAction, autoResume in data:
         start = sqlite_help.unix_time(startTime)
         end = sqlite_help.unix_time(endTime)
         download = source + " -> " + target + " (" + str(
             maxBytes) + " bytes)"
         download = download.replace("|", "-")
         d = (0, "[FIREFOXDOWNLOADS] " + download, 0, "---------------", 0,
              0, 0, 0, end, 0, start)
         csv.writer(outfd,
                    delimiter="|",
                    quoting=csv.QUOTE_NONE,
                    escapechar="\\").writerow(d)
 def render_body(self, outfd, data):
     for row_id, url, title, rev_host, visit_count, hidden, typed, favicon_id, frecency, last_visit_date, guid in data:
         if type(last_visit_date) is str:
             end = 0
         else:
             end = sqlite_help.unix_time(last_visit_date)
         history = url + " -- " + title
         history = history.replace("|", "-")
         d = (0, "[FIREFOXHISTORY] " + history, 0, "---------------", 0, 0, 0, 0, end, 0, 0)
         csv.writer(outfd,delimiter="|",quoting=csv.QUOTE_NONE,escapechar="\\").writerow(d)
 def render_body(self, outfd, data):
     for row_id, url, title, rev_host, visit_count, hidden, typed, favicon_id, frecency, last_visit_date, guid in data:
         if type(last_visit_date) is str:
             end = 0
         else:
             end = sqlite_help.unix_time(last_visit_date)
         history = url + " -- " + title
         history = history.replace("|", "-")
         d = (0, "[FIREFOXHISTORY] " + history, 0, "---------------", 0, 0,
              0, 0, end, 0, 0)
         csv.writer(outfd,
                    delimiter="|",
                    quoting=csv.QUOTE_NONE,
                    escapechar="\\").writerow(d)