]> git.pld-linux.org Git - SPECS.git/blob - sqlier.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / sqlier.spec
1 %define         rel     0.2
2 Summary:        SQLIer - an SQL Injection vulnerable URL prober
3 Name:           sqlier
4 Version:        0.8
5 Release:        0.b.%{rel}
6 License:        BSD
7 Group:          Applications
8 # Source0Download:      http://bcable.net/archive.php?%{name}-%{version}b.sh
9 Source0:        %{name}-%{version}b.sh
10 # Source0-md5:  40702eb5397dfd4134ad7761a15a5e88
11 Patch0:         %{name}-bashism.patch
12 URL:            http://bcable.net/project.php?sqlier
13 Requires:       awk
14 Requires:       python
15 Requires:       wget
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 SQLIer takes an SQL Injection vulnerable URL and attempts to determine
21 all the necessary information to build and exploit an SQL Injection
22 hole by itself, requiring no user interaction at all (unless it can't
23 guess the table/field names correctly). By doing so, SQLIer can build
24 a UNION SELECT query designed to brute force passwords out of the
25 database. This script also does not use quotes in the exploit to
26 operate, meaning it will work for a wider range of sites.
27
28 An 8 character password (containing any character from decimal ASCII
29 code 1-127) takes approximately 1 minute to crack.
30
31 %prep
32 %setup -qcT
33 cp %{SOURCE0} %{name}.sh
34 %patch0 -p0
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_bindir}
39 install %{name}.sh $RPM_BUILD_ROOT%{_bindir}/%{name}
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %attr(755,root,root) %{_bindir}/sqlier
This page took 0.188234 seconds and 3 git commands to generate.