Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package dumpzilla for openSUSE:Factory 
checked in at 2023-01-14 20:32:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dumpzilla (Old)
 and      /work/SRC/openSUSE:Factory/.dumpzilla.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dumpzilla"

Sat Jan 14 20:32:56 2023 rev:2 rq:1058395 version:0.0.0+git.20210311

Changes:
--------
--- /work/SRC/openSUSE:Factory/dumpzilla/dumpzilla.changes      2020-09-01 
20:10:25.876678363 +0200
+++ /work/SRC/openSUSE:Factory/.dumpzilla.new.32243/dumpzilla.changes   
2023-01-14 20:32:57.781654137 +0100
@@ -1,0 +2,8 @@
+Wed Jan 11 10:30:48 UTC 2023 - Dirk Müller <[email protected]>
+
+- Update to version 0.0.0+git.20210311:
+  * Removed related db query from domain filters.
+  * Resolves #4.
+- use proper python3-magic module
+
+-------------------------------------------------------------------

Old:
----
  dumpzilla-0.0.0+git.20180324.tar.xz

New:
----
  dumpzilla-0.0.0+git.20210311.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ dumpzilla.spec ++++++
--- /var/tmp/diff_new_pack.xtFLJu/_old  2023-01-14 20:32:58.389657727 +0100
+++ /var/tmp/diff_new_pack.xtFLJu/_new  2023-01-14 20:32:58.393657752 +0100
@@ -1,6 +1,7 @@
 #
 # spec file for package dumpzilla
 #
+# Copyright (c) 2023 SUSE LLC
 # Copyright (c) 2020, Martin Hauke <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,7 +18,7 @@
 
 
 Name:           dumpzilla
-Version:        0.0.0+git.20180324
+Version:        0.0.0+git.20210311
 Release:        0
 Summary:        Firefox browser forensic tool
 License:        GPL-3.0-or-later
@@ -27,8 +28,8 @@
 Source1:        http://www.dumpzilla.org/Manual_dumpzilla_en.txt
 BuildRequires:  python3-rpm-macros
 BuildRequires:  python3-setuptools
-Requires:       python3-magic
 Requires:       python3-lz4
+Requires:       python3-python-magic
 BuildArch:      noarch
 
 %description
@@ -55,7 +56,6 @@
  * Visualize live user surfing, Url used in each tab or window
    and use of forms.
 
-
 %package bash-completion
 Summary:        Bash Completion for %{name}
 Group:          Development/Tools/Other

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.xtFLJu/_old  2023-01-14 20:32:58.461658153 +0100
+++ /var/tmp/diff_new_pack.xtFLJu/_new  2023-01-14 20:32:58.465658176 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/Busindre/dumpzilla.git</param>
-              <param 
name="changesrevision">73d82d971b69caad969ec5d951d1da66ff96ec55</param></service></servicedata>
+              <param 
name="changesrevision">ec337da722441c7480f280b14c273718fabc6c96</param></service></servicedata>
 (No newline at EOF)
 

++++++ dumpzilla-0.0.0+git.20180324.tar.xz -> 
dumpzilla-0.0.0+git.20210311.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dumpzilla-0.0.0+git.20180324/.git/ORIG_HEAD 
new/dumpzilla-0.0.0+git.20210311/.git/ORIG_HEAD
--- old/dumpzilla-0.0.0+git.20180324/.git/ORIG_HEAD     2018-03-24 
18:50:44.000000000 +0100
+++ new/dumpzilla-0.0.0+git.20210311/.git/ORIG_HEAD     2021-03-11 
23:47:04.000000000 +0100
@@ -1 +1 @@
-73d82d971b69caad969ec5d951d1da66ff96ec55
+ec337da722441c7480f280b14c273718fabc6c96
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dumpzilla-0.0.0+git.20180324/.git/config 
new/dumpzilla-0.0.0+git.20210311/.git/config
--- old/dumpzilla-0.0.0+git.20180324/.git/config        2018-03-24 
18:50:44.000000000 +0100
+++ new/dumpzilla-0.0.0+git.20210311/.git/config        2021-03-11 
23:47:04.000000000 +0100
@@ -1,11 +1,15 @@
 [core]
-       repositoryformatversion = 0
+       repositoryformatversion = 1
        filemode = true
        bare = false
        logallrefupdates = true
 [remote "origin"]
        url = https://github.com/Busindre/dumpzilla.git
        fetch = +refs/heads/*:refs/remotes/origin/*
+       promisor = true
+       partialclonefilter = tree:0
 [branch "master"]
        remote = origin
        merge = refs/heads/master
+[extensions]
+       partialClone = origin
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/dumpzilla-0.0.0+git.20180324/.git/hooks/fsmonitor-watchman.sample 
new/dumpzilla-0.0.0+git.20210311/.git/hooks/fsmonitor-watchman.sample
--- old/dumpzilla-0.0.0+git.20180324/.git/hooks/fsmonitor-watchman.sample       
2018-03-24 18:50:44.000000000 +0100
+++ new/dumpzilla-0.0.0+git.20210311/.git/hooks/fsmonitor-watchman.sample       
2021-03-11 23:47:04.000000000 +0100
@@ -86,12 +86,13 @@
        # recency index to select candidate nodes and "fields" to limit the
        # output to file names only. Then we're using the "expression" term to
        # further constrain the results.
+       my $last_update_line = "";
        if (substr($last_update_token, 0, 1) eq "c") {
                $last_update_token = "\"$last_update_token\"";
+               $last_update_line = qq[\n"since": $last_update_token,];
        }
        my $query = <<" END";
-               ["query", "$git_work_tree", {
-                       "since": $last_update_token,
+               ["query", "$git_work_tree", {$last_update_line
                        "fields": ["name"],
                        "expression": ["not", ["dirname", ".git"]]
                }]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/dumpzilla-0.0.0+git.20180324/.git/hooks/pre-push.sample 
new/dumpzilla-0.0.0+git.20210311/.git/hooks/pre-push.sample
--- old/dumpzilla-0.0.0+git.20180324/.git/hooks/pre-push.sample 2018-03-24 
18:50:44.000000000 +0100
+++ new/dumpzilla-0.0.0+git.20210311/.git/hooks/pre-push.sample 2021-03-11 
23:47:04.000000000 +0100
@@ -14,7 +14,7 @@
 # Information about the commits which are being pushed is supplied as lines to
 # the standard input in the form:
 #
-#   <local ref> <local sha1> <remote ref> <remote sha1>
+#   <local ref> <local oid> <remote ref> <remote oid>
 #
 # This sample shows how to prevent push of commits where the log message starts
 # with "WIP" (work in progress).
@@ -22,27 +22,27 @@
 remote="$1"
 url="$2"
 
-z40=0000000000000000000000000000000000000000
+zero=$(git hash-object --stdin </dev/null | tr '[0-9a-f]' '0')
 
-while read local_ref local_sha remote_ref remote_sha
+while read local_ref local_oid remote_ref remote_oid
 do
-       if [ "$local_sha" = $z40 ]
+       if test "$local_oid" = "$zero"
        then
                # Handle delete
                :
        else
-               if [ "$remote_sha" = $z40 ]
+               if test "$remote_oid" = "$zero"
                then
                        # New branch, examine all commits
-                       range="$local_sha"
+                       range="$local_oid"
                else
                        # Update to existing branch, examine new commits
-                       range="$remote_sha..$local_sha"
+                       range="$remote_oid..$local_oid"
                fi
 
                # Check for WIP commit
-               commit=`git rev-list -n 1 --grep '^WIP' "$range"`
-               if [ -n "$commit" ]
+               commit=$(git rev-list -n 1 --grep '^WIP' "$range")
+               if test -n "$commit"
                then
                        echo >&2 "Found WIP commit in $local_ref, not pushing"
                        exit 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/dumpzilla-0.0.0+git.20180324/.git/hooks/push-to-checkout.sample 
new/dumpzilla-0.0.0+git.20210311/.git/hooks/push-to-checkout.sample
--- old/dumpzilla-0.0.0+git.20180324/.git/hooks/push-to-checkout.sample 
1970-01-01 01:00:00.000000000 +0100
+++ new/dumpzilla-0.0.0+git.20210311/.git/hooks/push-to-checkout.sample 
2021-03-11 23:47:04.000000000 +0100
@@ -0,0 +1,78 @@
+#!/bin/sh
+
+# An example hook script to update a checked-out tree on a git push.
+#
+# This hook is invoked by git-receive-pack(1) when it reacts to git
+# push and updates reference(s) in its repository, and when the push
+# tries to update the branch that is currently checked out and the
+# receive.denyCurrentBranch configuration variable is set to
+# updateInstead.
+#
+# By default, such a push is refused if the working tree and the index
+# of the remote repository has any difference from the currently
+# checked out commit; when both the working tree and the index match
+# the current commit, they are updated to match the newly pushed tip
+# of the branch. This hook is to be used to override the default
+# behaviour; however the code below reimplements the default behaviour
+# as a starting point for convenient modification.
+#
+# The hook receives the commit with which the tip of the current
+# branch is going to be updated:
+commit=$1
+
+# It can exit with a non-zero status to refuse the push (when it does
+# so, it must not modify the index or the working tree).
+die () {
+       echo >&2 "$*"
+       exit 1
+}
+
+# Or it can make any necessary changes to the working tree and to the
+# index to bring them to the desired state when the tip of the current
+# branch is updated to the new commit, and exit with a zero status.
+#
+# For example, the hook can simply run git read-tree -u -m HEAD "$1"
+# in order to emulate git fetch that is run in the reverse direction
+# with git push, as the two-tree form of git read-tree -u -m is
+# essentially the same as git switch or git checkout that switches
+# branches while keeping the local changes in the working tree that do
+# not interfere with the difference between the branches.
+
+# The below is a more-or-less exact translation to shell of the C code
+# for the default behaviour for git's push-to-checkout hook defined in
+# the push_to_deploy() function in builtin/receive-pack.c.
+#
+# Note that the hook will be executed from the repository directory,
+# not from the working tree, so if you want to perform operations on
+# the working tree, you will have to adapt your code accordingly, e.g.
+# by adding "cd .." or using relative paths.
+
+if ! git update-index -q --ignore-submodules --refresh
+then
+       die "Up-to-date check failed"
+fi
+
+if ! git diff-files --quiet --ignore-submodules --
+then
+       die "Working directory has unstaged changes"
+fi
+
+# This is a rough translation of:
+#
+#   head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX
+if git cat-file -e HEAD 2>/dev/null
+then
+       head=HEAD
+else
+       head=$(git hash-object -t tree --stdin </dev/null)
+fi
+
+if ! git diff-index --quiet --cached --ignore-submodules $head --
+then
+       die "Working directory has staged changes"
+fi
+
+if ! git read-tree -u -m "$commit"
+then
+       die "Could not update working tree to new HEAD"
+fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/dumpzilla-0.0.0+git.20180324/.git/hooks/update.sample 
new/dumpzilla-0.0.0+git.20210311/.git/hooks/update.sample
--- old/dumpzilla-0.0.0+git.20180324/.git/hooks/update.sample   2018-03-24 
18:50:44.000000000 +0100
+++ new/dumpzilla-0.0.0+git.20210311/.git/hooks/update.sample   2021-03-11 
23:47:04.000000000 +0100
@@ -60,7 +60,7 @@
 
 # --- Check types
 # if $newrev is 0000...0000, it's a commit to delete a ref.
-zero="0000000000000000000000000000000000000000"
+zero=$(git hash-object --stdin </dev/null | tr '[0-9a-f]' '0')
 if [ "$newrev" = "$zero" ]; then
        newrev_type=delete
 else
Binary files old/dumpzilla-0.0.0+git.20180324/.git/index and 
new/dumpzilla-0.0.0+git.20210311/.git/index differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dumpzilla-0.0.0+git.20180324/.git/logs/HEAD 
new/dumpzilla-0.0.0+git.20210311/.git/logs/HEAD
--- old/dumpzilla-0.0.0+git.20180324/.git/logs/HEAD     2018-03-24 
18:50:44.000000000 +0100
+++ new/dumpzilla-0.0.0+git.20210311/.git/logs/HEAD     2021-03-11 
23:47:04.000000000 +0100
@@ -1,2 +1,3 @@
-0000000000000000000000000000000000000000 
73d82d971b69caad969ec5d951d1da66ff96ec55 Martin Hauke <[email protected]> 
1598136184 +0200        clone: from https://github.com/Busindre/dumpzilla.git
-73d82d971b69caad969ec5d951d1da66ff96ec55 
73d82d971b69caad969ec5d951d1da66ff96ec55 Martin Hauke <[email protected]> 
1598136184 +0200        reset: moving to origin/master
+0000000000000000000000000000000000000000 
ec337da722441c7480f280b14c273718fabc6c96 Dirk Müller <[email protected]> 
1673433064 +0100        clone: from https://github.com/Busindre/dumpzilla.git
+ec337da722441c7480f280b14c273718fabc6c96 
ec337da722441c7480f280b14c273718fabc6c96 Dirk Müller <[email protected]> 
1673433065 +0100        checkout: moving from master to master
+ec337da722441c7480f280b14c273718fabc6c96 
ec337da722441c7480f280b14c273718fabc6c96 Dirk Müller <[email protected]> 
1673433065 +0100        reset: moving to master
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/dumpzilla-0.0.0+git.20180324/.git/logs/refs/heads/master 
new/dumpzilla-0.0.0+git.20210311/.git/logs/refs/heads/master
--- old/dumpzilla-0.0.0+git.20180324/.git/logs/refs/heads/master        
2018-03-24 18:50:44.000000000 +0100
+++ new/dumpzilla-0.0.0+git.20210311/.git/logs/refs/heads/master        
2021-03-11 23:47:04.000000000 +0100
@@ -1 +1 @@
-0000000000000000000000000000000000000000 
73d82d971b69caad969ec5d951d1da66ff96ec55 Martin Hauke <[email protected]> 
1598136184 +0200        clone: from https://github.com/Busindre/dumpzilla.git
+0000000000000000000000000000000000000000 
ec337da722441c7480f280b14c273718fabc6c96 Dirk Müller <[email protected]> 
1673433064 +0100        clone: from https://github.com/Busindre/dumpzilla.git
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/dumpzilla-0.0.0+git.20180324/.git/logs/refs/remotes/origin/HEAD 
new/dumpzilla-0.0.0+git.20210311/.git/logs/refs/remotes/origin/HEAD
--- old/dumpzilla-0.0.0+git.20180324/.git/logs/refs/remotes/origin/HEAD 
2018-03-24 18:50:44.000000000 +0100
+++ new/dumpzilla-0.0.0+git.20210311/.git/logs/refs/remotes/origin/HEAD 
2021-03-11 23:47:04.000000000 +0100
@@ -1 +1 @@
-0000000000000000000000000000000000000000 
73d82d971b69caad969ec5d951d1da66ff96ec55 Martin Hauke <[email protected]> 
1598136184 +0200        clone: from https://github.com/Busindre/dumpzilla.git
+0000000000000000000000000000000000000000 
ec337da722441c7480f280b14c273718fabc6c96 Dirk Müller <[email protected]> 
1673433064 +0100        clone: from https://github.com/Busindre/dumpzilla.git
Binary files 
old/dumpzilla-0.0.0+git.20180324/.git/objects/pack/pack-037ef07126b3c2c5e163a8736c2655a62eaadda3.idx
 and 
new/dumpzilla-0.0.0+git.20210311/.git/objects/pack/pack-037ef07126b3c2c5e163a8736c2655a62eaadda3.idx
 differ
Binary files 
old/dumpzilla-0.0.0+git.20180324/.git/objects/pack/pack-037ef07126b3c2c5e163a8736c2655a62eaadda3.pack
 and 
new/dumpzilla-0.0.0+git.20210311/.git/objects/pack/pack-037ef07126b3c2c5e163a8736c2655a62eaadda3.pack
 differ
Binary files 
old/dumpzilla-0.0.0+git.20180324/.git/objects/pack/pack-08ae341fac75d18a974dbfacd468efe66f93e20d.idx
 and 
new/dumpzilla-0.0.0+git.20210311/.git/objects/pack/pack-08ae341fac75d18a974dbfacd468efe66f93e20d.idx
 differ
Binary files 
old/dumpzilla-0.0.0+git.20180324/.git/objects/pack/pack-08ae341fac75d18a974dbfacd468efe66f93e20d.pack
 and 
new/dumpzilla-0.0.0+git.20210311/.git/objects/pack/pack-08ae341fac75d18a974dbfacd468efe66f93e20d.pack
 differ
Binary files 
old/dumpzilla-0.0.0+git.20180324/.git/objects/pack/pack-c14c96fa033ea40f74b3a2dd1d2ec5f5c4d3f19a.idx
 and 
new/dumpzilla-0.0.0+git.20210311/.git/objects/pack/pack-c14c96fa033ea40f74b3a2dd1d2ec5f5c4d3f19a.idx
 differ
Binary files 
old/dumpzilla-0.0.0+git.20180324/.git/objects/pack/pack-c14c96fa033ea40f74b3a2dd1d2ec5f5c4d3f19a.pack
 and 
new/dumpzilla-0.0.0+git.20210311/.git/objects/pack/pack-c14c96fa033ea40f74b3a2dd1d2ec5f5c4d3f19a.pack
 differ
Binary files 
old/dumpzilla-0.0.0+git.20180324/.git/objects/pack/pack-d3a6bb5f153dd039e4a4b2ca3a530124d3d8ecf7.idx
 and 
new/dumpzilla-0.0.0+git.20210311/.git/objects/pack/pack-d3a6bb5f153dd039e4a4b2ca3a530124d3d8ecf7.idx
 differ
Binary files 
old/dumpzilla-0.0.0+git.20180324/.git/objects/pack/pack-d3a6bb5f153dd039e4a4b2ca3a530124d3d8ecf7.pack
 and 
new/dumpzilla-0.0.0+git.20210311/.git/objects/pack/pack-d3a6bb5f153dd039e4a4b2ca3a530124d3d8ecf7.pack
 differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/dumpzilla-0.0.0+git.20180324/.git/objects/pack/pack-d3a6bb5f153dd039e4a4b2ca3a530124d3d8ecf7.promisor
 
new/dumpzilla-0.0.0+git.20210311/.git/objects/pack/pack-d3a6bb5f153dd039e4a4b2ca3a530124d3d8ecf7.promisor
--- 
old/dumpzilla-0.0.0+git.20180324/.git/objects/pack/pack-d3a6bb5f153dd039e4a4b2ca3a530124d3d8ecf7.promisor
   1970-01-01 01:00:00.000000000 +0100
+++ 
new/dumpzilla-0.0.0+git.20210311/.git/objects/pack/pack-d3a6bb5f153dd039e4a4b2ca3a530124d3d8ecf7.promisor
   2021-03-11 23:47:04.000000000 +0100
@@ -0,0 +1,3 @@
+ec337da722441c7480f280b14c273718fabc6c96 HEAD
+e83bf6d40faad2814620b17c22f16b8f378a731c refs/heads/develop
+ec337da722441c7480f280b14c273718fabc6c96 refs/heads/master
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dumpzilla-0.0.0+git.20180324/.git/packed-refs 
new/dumpzilla-0.0.0+git.20210311/.git/packed-refs
--- old/dumpzilla-0.0.0+git.20180324/.git/packed-refs   2018-03-24 
18:50:44.000000000 +0100
+++ new/dumpzilla-0.0.0+git.20210311/.git/packed-refs   2021-03-11 
23:47:04.000000000 +0100
@@ -1,3 +1,3 @@
 # pack-refs with: peeled fully-peeled sorted 
 e83bf6d40faad2814620b17c22f16b8f378a731c refs/remotes/origin/develop
-73d82d971b69caad969ec5d951d1da66ff96ec55 refs/remotes/origin/master
+ec337da722441c7480f280b14c273718fabc6c96 refs/remotes/origin/master
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dumpzilla-0.0.0+git.20180324/.git/refs/heads/master 
new/dumpzilla-0.0.0+git.20210311/.git/refs/heads/master
--- old/dumpzilla-0.0.0+git.20180324/.git/refs/heads/master     2018-03-24 
18:50:44.000000000 +0100
+++ new/dumpzilla-0.0.0+git.20210311/.git/refs/heads/master     2021-03-11 
23:47:04.000000000 +0100
@@ -1 +1 @@
-73d82d971b69caad969ec5d951d1da66ff96ec55
+ec337da722441c7480f280b14c273718fabc6c96
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/dumpzilla-0.0.0+git.20180324/ES_templates_dumpzilla/cookies.json 
new/dumpzilla-0.0.0+git.20210311/ES_templates_dumpzilla/cookies.json
--- old/dumpzilla-0.0.0+git.20180324/ES_templates_dumpzilla/cookies.json        
2018-03-24 18:50:44.000000000 +0100
+++ new/dumpzilla-0.0.0+git.20210311/ES_templates_dumpzilla/cookies.json        
2021-03-11 23:47:04.000000000 +0100
@@ -47,11 +47,7 @@
          "8-Secure" : {
             "index" : "not_analyzed",
             "type" : "string"
-          },      
-         "0-Domain" : {
-             "index" : "not_analyzed",
-             "type" : "string"
-          },
+          },
          "9-HttpOnly" : {
            "index" : "not_analyzed",
             "type" : "string"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/dumpzilla-0.0.0+git.20180324/dumpzilla.py 
new/dumpzilla-0.0.0+git.20210311/dumpzilla.py
--- old/dumpzilla-0.0.0+git.20180324/dumpzilla.py       2018-03-24 
18:50:44.000000000 +0100
+++ new/dumpzilla-0.0.0+git.20210311/dumpzilla.py       2021-03-11 
23:47:04.000000000 +0100
@@ -328,8 +328,8 @@
           if value == header:
               return lz4.block.decompress(file.read())
           file.seek(0)
-            
-        
+
+
 
         return None
 
@@ -654,27 +654,26 @@
           conn.create_function("REGEXP", 2, self.regexp)
 
        cursor = conn.cursor()
-       sqlite_query = "select baseDomain, name, value, host, path, 
datetime(expiry, 'unixepoch', 'localtime'), 
datetime(lastAccessed/1000000,'unixepoch','localtime') as last 
,datetime(creationTime/1000000,'unixepoch','localtime') as creat, isSecure, 
isHttpOnly FROM moz_cookies"
+       sqlite_query = "select name, value, host, path, datetime(expiry, 
'unixepoch', 'localtime'), 
datetime(lastAccessed/1000000,'unixepoch','localtime') as last 
,datetime(creationTime/1000000,'unixepoch','localtime') as creat, isSecure, 
isHttpOnly FROM moz_cookies"
        self.execute_query(cursor,sqlite_query,self.cookie_filters)
 
        _extraction_list = []
        for row in cursor:
           _extraction_dict = {}
-          _extraction_dict['0-Domain'] = self.decode_reg(row[0])
-          _extraction_dict['1-Host'] = self.decode_reg(row[3])
-          _extraction_dict['2-Name'] = self.decode_reg(row[1])
-          _extraction_dict['3-Value'] = self.decode_reg(row[2])
-          _extraction_dict['4-Path'] = self.decode_reg(row[4])
-          _extraction_dict['5-Expiry'] = self.decode_reg(row[5])
-          _extraction_dict['6-Last Access'] = self.decode_reg(row[6])
-          _extraction_dict['7-Creation Time'] = self.decode_reg(row[7])
+          _extraction_dict['1-Host'] = self.decode_reg(row[2])
+          _extraction_dict['2-Name'] = self.decode_reg(row[0])
+          _extraction_dict['3-Value'] = self.decode_reg(row[1])
+          _extraction_dict['4-Path'] = self.decode_reg(row[3])
+          _extraction_dict['5-Expiry'] = self.decode_reg(row[4])
+          _extraction_dict['6-Last Access'] = self.decode_reg(row[5])
+          _extraction_dict['7-Creation Time'] = self.decode_reg(row[6])
 
-          if self.decode_reg(row[8]) == 0:
+          if self.decode_reg(row[7]) == 0:
              _extraction_dict['8-Secure'] =  'No'
           else:
              _extraction_dict['8-Secure'] =  'Yes'
 
-          if self.decode_reg(row[9]) == 0:
+          if self.decode_reg(row[8]) == 0:
              _extraction_dict['9-HttpOnly'] =  'No'
           else:
              _extraction_dict['9-HttpOnly'] =  'Yes'
@@ -2328,7 +2327,6 @@
                      self.is_dom_ok = True
                  if self.args.domain:
                      cookie_domain = format(self.args.domain[0])
-                     
self.cookie_filters.append(["string","baseDomain",cookie_domain])
                      
self.domain_filters.append(["string","scope",cookie_domain])
                  if self.args.name:
                      cookie_name = format(self.args.name[0])

Reply via email to