summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 08:50:12 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 08:50:12 +0000
commitc023dd920ee5bff2306f47f49eb35c12a01e3944 (patch)
tree047ec5f559e3a3e466f0d392506e55eee983b9bf
parentef57573f2bec385b4e9f38545cd48f0504d9ef84 (diff)
automatic import of python-getrailsopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-getrails.spec173
-rw-r--r--sources1
3 files changed, 175 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..c7d7e38 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/getrails-3.3.tar.gz
diff --git a/python-getrails.spec b/python-getrails.spec
new file mode 100644
index 0000000..4fb6ea8
--- /dev/null
+++ b/python-getrails.spec
@@ -0,0 +1,173 @@
+%global _empty_manifest_terminate_build 0
+Name: python-getrails
+Version: 3.3
+Release: 1
+Summary: Tool of OSINT and Dork hacking that work with Google, Duckduckgo and Onion likes
+License: GPLv3
+URL: https://github.com/Jul10l1r4/getrails
+Source0: https://mirrors.aliyun.com/pypi/web/packages/66/15/11d1788d1dce45b8282a26ab874858eb585d8ef678a801fa4b90cf327a69/getrails-3.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-mechanicalsoup
+Requires: python3-google
+
+%description
+![Getrails](img/banner.png)
+
+# GETRAILS
+
+![Upload Python Package](https://github.com/Jul10l1r4/getrails/workflows/Upload%20Python%20Package/badge.svg) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/fc02078872134bbc93b9e79a777dc14e)](https://app.codacy.com/manual/Jul10l1r4/getrails?utm_source=github.com&utm_medium=referral&utm_content=Jul10l1r4/getrails&utm_campaign=Badge_Grade_Dashboard)
+
+Lib of [OSINT](https://pt.wikipedia.org/wiki/OSINT) and Dork hacking that work with Google, Duckduckgo and Torch
+
+Feel free to contribute
+
+## Run
+
+```python
+import getrails
+getrails.search('site:scanme.nmap.org')) # Try Google search if return error use Duckduckgo
+# ["http://scanme.nmap.org",...]
+
+getrails.go_gle("term") # Searching Google
+getrails.go_duck("term") # Searching Duckduckgo
+getrails.go_onion("term") # Searching torch (Onion)
+```
+
+## Install
+
+```pypi
+pip3 install getrails
+```
+or
+```python
+python3 setup.py
+```
+
+
+
+
+%package -n python3-getrails
+Summary: Tool of OSINT and Dork hacking that work with Google, Duckduckgo and Onion likes
+Provides: python-getrails
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-getrails
+![Getrails](img/banner.png)
+
+# GETRAILS
+
+![Upload Python Package](https://github.com/Jul10l1r4/getrails/workflows/Upload%20Python%20Package/badge.svg) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/fc02078872134bbc93b9e79a777dc14e)](https://app.codacy.com/manual/Jul10l1r4/getrails?utm_source=github.com&utm_medium=referral&utm_content=Jul10l1r4/getrails&utm_campaign=Badge_Grade_Dashboard)
+
+Lib of [OSINT](https://pt.wikipedia.org/wiki/OSINT) and Dork hacking that work with Google, Duckduckgo and Torch
+
+Feel free to contribute
+
+## Run
+
+```python
+import getrails
+getrails.search('site:scanme.nmap.org')) # Try Google search if return error use Duckduckgo
+# ["http://scanme.nmap.org",...]
+
+getrails.go_gle("term") # Searching Google
+getrails.go_duck("term") # Searching Duckduckgo
+getrails.go_onion("term") # Searching torch (Onion)
+```
+
+## Install
+
+```pypi
+pip3 install getrails
+```
+or
+```python
+python3 setup.py
+```
+
+
+
+
+%package help
+Summary: Development documents and examples for getrails
+Provides: python3-getrails-doc
+%description help
+![Getrails](img/banner.png)
+
+# GETRAILS
+
+![Upload Python Package](https://github.com/Jul10l1r4/getrails/workflows/Upload%20Python%20Package/badge.svg) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/fc02078872134bbc93b9e79a777dc14e)](https://app.codacy.com/manual/Jul10l1r4/getrails?utm_source=github.com&utm_medium=referral&utm_content=Jul10l1r4/getrails&utm_campaign=Badge_Grade_Dashboard)
+
+Lib of [OSINT](https://pt.wikipedia.org/wiki/OSINT) and Dork hacking that work with Google, Duckduckgo and Torch
+
+Feel free to contribute
+
+## Run
+
+```python
+import getrails
+getrails.search('site:scanme.nmap.org')) # Try Google search if return error use Duckduckgo
+# ["http://scanme.nmap.org",...]
+
+getrails.go_gle("term") # Searching Google
+getrails.go_duck("term") # Searching Duckduckgo
+getrails.go_onion("term") # Searching torch (Onion)
+```
+
+## Install
+
+```pypi
+pip3 install getrails
+```
+or
+```python
+python3 setup.py
+```
+
+
+
+
+%prep
+%autosetup -n getrails-3.3
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-getrails -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 3.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..3d23774
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b319935fc1bf7892a52717f5e937d33d getrails-3.3.tar.gz