Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python27Packages.sqlmap: 1.3.12 -> 1.4 #78836

merged 3 commits into from Feb 6, 2020


Copy link

@r-ryantm r-ryantm commented Jan 30, 2020

Semi-automatic update generated by tools. This update was made based on information from

meta.description for python27Packages.sqlmap is: '"Automatic SQL injection and database takeover tool"'.

meta.homepage for python27Packages.sqlmap is: '""

Checks done (click to expand)
Rebuild report (if merged into master) (click to expand)

12 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
3 i686-linux rebuild(s)
3 x86_64-darwin rebuild(s)
3 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath

Instructions to test this update (click to expand)

Either download from Cachix:

nix-store -r /nix/store/7rxx18qdalyll7cvrmdpmc8y76bw2c48-python2.7-sqlmap-1.4 \
  --option binary-caches '' \
  --option trusted-public-keys '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.

Or, build yourself:

nix-build -A python27Packages.sqlmap

After you've downloaded or built it, look at the files and if there are any, run the binaries:

ls -la /nix/store/7rxx18qdalyll7cvrmdpmc8y76bw2c48-python2.7-sqlmap-1.4
ls -la /nix/store/7rxx18qdalyll7cvrmdpmc8y76bw2c48-python2.7-sqlmap-1.4/bin

cc @bennofs for testing.

Copy link

@bennofs bennofs left a comment

Fails with this error when run:

Traceback (most recent call last):
  File "/nix/store/pngmk1pn5fp52bynm73c6ysn4d9ms0am-python3.7-sqlmap-1.4/lib/python3.7/site-packages/sqlmap/thirdparty/magic/", line 115, in <module>
    libmagic = ctypes.CDLL(dll)
  File "/nix/store/aw85aijllnc5spk2fqbivygrhx6x7411-python3-3.7.6/lib/python3.7/ctypes/", line 364, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/nix/store/pngmk1pn5fp52bynm73c6ysn4d9ms0am-python3.7-sqlmap-1.4/bin/.sqlmap-wrapped", line 6, in <module>
    from sqlmap.sqlmap import main
  File "/nix/store/pngmk1pn5fp52bynm73c6ysn4d9ms0am-python3.7-sqlmap-1.4/lib/python3.7/site-packages/sqlmap/", line 44, in <module>
    from lib.core.common import banner
  File "/nix/store/pngmk1pn5fp52bynm73c6ysn4d9ms0am-python3.7-sqlmap-1.4/lib/python3.7/site-packages/sqlmap/lib/core/", line 189, in <module>
    from thirdparty.magic import magic
  File "/nix/store/pngmk1pn5fp52bynm73c6ysn4d9ms0am-python3.7-sqlmap-1.4/lib/python3.7/site-packages/sqlmap/thirdparty/magic/", line 116, in <module>
    except WindowsError:
NameError: name 'WindowsError' is not defined
Copy link

@jonringer jonringer commented Feb 2, 2020

if anyone wants to fix this, is found in the file package. The source needs to be patch to look for ${file}/lib/

bennofs added 2 commits Feb 6, 2020
@bennofs bennofs merged commit 67312c6 into NixOS:master Feb 6, 2020
@r-ryantm r-ryantm deleted the r-ryantm:auto-update/python2.7-sqlmap branch Feb 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.