SHA256
1
0
forked from pool/sqlmap
Dominique Leuenberger 2021-07-20 13:39:03 +00:00 committed by Git OBS Bridge
commit 6daeaf0ce1
4 changed files with 24 additions and 15 deletions

3
sqlmap-1.5.7.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b5d7bd6bfee2fcce2f84b332a9c337d45c37343c53b5793cc4141db77789db70
size 6765798

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:18c38c4ccf04e81e540527abc63130eced72b157da1d705e3af26b1d4768671d
size 6794876

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Jul 15 07:21:22 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
- Update to 1.5.7:
* Fixed #4728 (https://github.com/sqlmapproject/sqlmap/issues/4728)
* Fixed #4664 (https://github.com/sqlmapproject/sqlmap/issues/4664)
* Fixed #4625 (https://github.com/sqlmapproject/sqlmap/issues/4625)
* Speedup of caching for char encoding (non-Unicode chars in page)
* Fixing HTTP chunking for Python2.6
-------------------------------------------------------------------
Thu Jul 1 15:38:57 UTC 2021 - Paolo Perego <paolo.perego@suse.com>

View File

@ -18,16 +18,16 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: sqlmap
Version: 1.5
Version: 1.5.7
Release: 0
Summary: Automatic SQL injection and database takeover tool
License: GPL-2.0-or-later
URL: https://github.com/sqlmapproject/sqlmap
Source: sqlmap-1.5.tar.gz
Source: https://github.com/sqlmapproject/sqlmap/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Patch0: fix_shebang.patch
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%description
@ -40,7 +40,6 @@ fingerprinting, over data fetching from the database, accessing the underlying
file system, and executing commands on the operating system via out-of-band
connections.
%prep
%setup -q -n sqlmap-%{version}
%patch0 -p1
@ -57,14 +56,14 @@ chmod ugo-x thirdparty/identywaf/identYwaf.py
%build
%install
mkdir -p %{buildroot}/usr/share/sqlmap
cp -a * %{buildroot}/usr/share/sqlmap
mkdir -p %{buildroot}%{_datadir}/sqlmap
cp -a * %{buildroot}%{_datadir}/sqlmap
%python_expand %fdupes %{buildroot}/usr/share/sqlmap
%python_expand %fdupes %{buildroot}%{_datadir}/sqlmap
%post
%{__ln_s} -f /usr/share/sqlmap/sqlmap.py %{_bindir}
%{__ln_s} -f /usr/share/sqlmap/sqlmapapi.py %{_bindir}
ln -s -f %{_datadir}/sqlmap/sqlmap.py %{_bindir}
ln -s -f %{_datadir}/sqlmap/sqlmapapi.py %{_bindir}
%postun
case "$1" in
@ -75,9 +74,9 @@ case "$1" in
esac
%files
/usr/share/sqlmap
%{_datadir}/sqlmap
%license /usr/share/sqlmap/LICENSE
%doc /usr/share/sqlmap/README.md
%license %{_datadir}/sqlmap/LICENSE
%doc %{_datadir}/sqlmap/README.md
%changelog