Name: sqlninja Version: 0.2.6 Release: 0.1.rc1%{?dist} Summary: A tool for SQL server injection and takeover Group: Applications/Databases License: GPLv2+ URL: http://sqlninja.sourceforge.net/index.html Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-rc1.tgz Source1: README.fedora Patch0: sqlninja-binary-upload-mode-fix-0.2.6.rc1.patch Patch1: sqlninja-move-config-file-to-etc-fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl-Net-DNS-Nameserver Requires: perl-Net-Pcap Requires: perl-IO-Socket-SSL Requires: perl-NetPacket Requires: perl-Net-RawIP Requires: perl %description Sqlninja is a tool targeted to exploit SQL Injection vulnerabilities on a web application that uses Microsoft SQL Server as its back-end. Its main goal is to provide remote access to vulnerable DB server. %prep %setup -q -n %{name}-%{version}-rc1 %patch0 %patch1 cp %{SOURCE1} . %build %install rm -rf %{buildroot} install -pm 755 -d %{buildroot}%{_sysconfdir} install -pm 644 %{name}.conf %{buildroot}%{_sysconfdir}/ install -pm 755 -d %{buildroot}%{_sbindir} install -pm 755 %{name} %{buildroot}%{_sbindir} %files %defattr(-,root,root,-) %doc LICENSE ChangeLog README sqlninja-howto.html README.fedora %config(noreplace) %{_sysconfdir}/%{name}.conf %{_sbindir}/%{name} %changelog * Sun Jul 3 2011 Arun SAG - 0.2.6-0.1.rc1 - Remove clean section - Fix twise listed config file - Fix license - Updated to 0.2.6-0.1.rc1 * Sat Sep 30 2010 Arun SAG - 0.2.5-2 - Pre-build binaries are no longer included * Sat Sep 25 2010 Arun SAG - 0.2.5-1 - First release