packages: sqlninja/sqlninja.spec (NEW) - new, from files at https://bugzill...

glen glen at pld-linux.org
Sat Dec 4 15:40:23 CET 2010


Author: glen                         Date: Sat Dec  4 14:40:23 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, from files at https://bugzilla.redhat.com/show_bug.cgi?id=637402

---- Files affected:
packages/sqlninja:
   sqlninja.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/sqlninja/sqlninja.spec
diff -u /dev/null packages/sqlninja/sqlninja.spec:1.1
--- /dev/null	Sat Dec  4 15:40:23 2010
+++ packages/sqlninja/sqlninja.spec	Sat Dec  4 15:40:18 2010
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+Summary:	A tool for SQL server injection and takeover
+Name:		sqlninja
+Version:	0.2.5
+Release:	1
+License:	GPL v2
+Group:		Applications/Databases
+URL:		http://sqlninja.sourceforge.net/
+Source0:	http://downloads.sourceforge.net/sqlninja/%{name}-%{version}.tgz
+# Source0-md5:	95acfd9c5bc2305f239596c613d4ffc7
+Patch0:		%{name}-pathmodifier.patch
+Requires:	perl-IO-Socket-SSL
+Requires:	perl-Net-DNS-Nameserver
+Requires:	perl-Net-Pcap
+Requires:	perl-Net-RawIP
+Requires:	perl-NetPacket
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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
+%patch0
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_datadir}/%{name}/apps}
+cp -a %{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}
+install -p %{name} $RPM_BUILD_ROOT%{_sbindir}
+# FIXME: Including binaries
+install -p apps/*.exe $RPM_BUILD_ROOT%{_datadir}/%{name}/apps
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE ChangeLog README sqlninja-howto.html
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
+%attr(755,root,root) %{_sbindir}/%{name}
+%dir %{_datadir}/%{name}
+%{_datadir}/%{name}/apps/*.exe
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/12/04 14:40:18  glen
+- new, from files at https://bugzilla.redhat.com/show_bug.cgi?id=637402
================================================================


More information about the pld-cvs-commit mailing list