From a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 4 Jun 2026 16:24:49 -0500 Subject: Adding metadata --- dev-db/sqlmap/Manifest | 2 - dev-db/sqlmap/files/sqlmap.bash-completion | 157 ----------------------------- dev-db/sqlmap/metadata.xml | 17 ---- dev-db/sqlmap/sqlmap-1.10.4.ebuild | 49 --------- dev-db/sqlmap/sqlmap-1.10.5.ebuild | 49 --------- 5 files changed, 274 deletions(-) delete mode 100644 dev-db/sqlmap/Manifest delete mode 100644 dev-db/sqlmap/files/sqlmap.bash-completion delete mode 100644 dev-db/sqlmap/metadata.xml delete mode 100644 dev-db/sqlmap/sqlmap-1.10.4.ebuild delete mode 100644 dev-db/sqlmap/sqlmap-1.10.5.ebuild (limited to 'dev-db/sqlmap') diff --git a/dev-db/sqlmap/Manifest b/dev-db/sqlmap/Manifest deleted file mode 100644 index 26df40efdd45..000000000000 --- a/dev-db/sqlmap/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST sqlmap-1.10.4.tar.gz 7231327 BLAKE2B 1cdb3da2e5baa22d672bedf9659b58c0d1deb07cc9a0bc254376ef13c0369df2082883d1c9aa9a83d1cdd4b1adc8f1f62640d7ff874c1b7ab57df24a5a0a7035 SHA512 fd9979b7a577cb48bf1550d9979713ccfbe84f7aa109aa0949dbc66a2f1b06d797df02ea1835681820e93b687654b26c001fb45395785f90a41dde06f6f86535 -DIST sqlmap-1.10.5.tar.gz 7231944 BLAKE2B 95a150b93fc55032b57dbe5ffffd54cb53325e89bbbb7e22476fed755dadc0c366ad1dd7c60db338c7e25bb8e1d2c9d9c97dbd128770d6d40e51efbfb22c1274 SHA512 a2a90e5d581348e82c751a6ab906efc40b84437c30a5cafadc94547bde7c1f8d6aafa2ae5f8d2e3609737b148980890c25c8bfcdb786fd4fc41bcbb7a6ce5a2e diff --git a/dev-db/sqlmap/files/sqlmap.bash-completion b/dev-db/sqlmap/files/sqlmap.bash-completion deleted file mode 100644 index 42e1c74705f0..000000000000 --- a/dev-db/sqlmap/files/sqlmap.bash-completion +++ /dev/null @@ -1,157 +0,0 @@ -# bash completion for sqlmap by Korznikov Alexander -# cp sqlmap_bash_completion /etc/bash_completion.d/sqlmap - -tamper=$(ls /usr/share/sqlmap/tamper|grep -v "__" |sed ':a;N;$!ba;s/\n/ /g') - -_sqlmap() -{ - local cur prev - - COMPREPLY=() - cur=`_get_cword` - prev=`_get_pword` - - case $prev in - - # List directory content - --tamper) - COMPREPLY=( $( compgen -W "$tamper" -- "$cur" ) ) - return 0 - ;; - --output-dir|-t|-l|-m|-r|--load-cookies|--proxy-file|--sql-file|--shared-lib|--file-write) - _filedir - return 0 - ;; - -c) - _filedir ini - return 0 - ;; - --method) - COMPREPLY=( $( compgen -W 'GET POST PUT' -- "$cur" ) ) - return 0 - ;; - --auth-type) - COMPREPLY=( $( compgen -W 'Basic Digest NTLM PKI' -- "$cur" ) ) - return 0 - ;; - --tor-type) - COMPREPLY=( $( compgen -W 'HTTP SOCKS4 SOCKS5' -- "$cur" ) ) - return 0 - ;; - -v) - COMPREPLY=( $( compgen -W '1 2 3 4 5 6' -- "$cur" ) ) - return 0 - ;; - --dbms) - COMPREPLY=( $( compgen -W 'mysql mssql access postgres' -- "$cur" ) ) - return 0 - ;; - --level|--crawl) - COMPREPLY=( $( compgen -W '1 2 3 4 5' -- "$cur" ) ) - return 0 - ;; - --risk) - COMPREPLY=( $( compgen -W '0 1 2 3' -- "$cur" ) ) - return 0 - ;; - --technique) - COMPREPLY=( $( compgen -W 'B E U S T Q' -- "$cur" ) ) - return 0 - ;; - -s) - _filedir sqlite - return 0 - ;; - --dump-format) - COMPREPLY=( $( compgen -W 'CSV HTML SQLITE' -- "$cur" ) ) - return 0 - ;; - -x) - _filedir xml - return 0 - ;; - esac - - if [[ "$cur" == * ]]; then - COMPREPLY=( $( compgen -W '-h --help -hh --version -v -d -u --url -l -x -m -r -g -c --method \ - --data --param-del --cookie --cookie-del --load-cookies \ - --drop-set-cookie --user-agent --random-agent --host --referer \ - --headers --auth-type --auth-cred --auth-private --ignore-401 \ - --proxy --proxy-cred --proxy-file --ignore-proxy --tor --tor-port \ - --tor-type --check-tor --delay --timeout --retries --randomize \ - --safe-url --safe-freq --skip-urlencode --csrf-token --csrf-url \ - --force-ssl --hpp --eval -o --predict-output --keep-alive \ - --null-connection --threads -p --skip --dbms --dbms-cred \ - --os --invalid-bignum --invalid-logical --invalid-string \ - --no-cast --no-escape --prefix --suffix --tamper --level \ - --risk --string --not-string --regexp --code --text-only \ - --titles --technique --time-sec --union-cols --union-char \ - --union-from --dns-domain --second-order -f --fingerprint \ - -a --all -b --banner --current-user --current-db --hostname \ - --is-dba --users --passwords --privileges --roles --dbs --tables \ - --columns --schema --count --dump --dump-all --search --comments \ - -D -T -C -X -U --exclude-sysdbs --where --start --stop \ - --first --last --sql-query --sql-shell --sql-file --common-tables \ - --common-columns --udf-inject --shared-lib --file-read --file-write \ - --file-dest --os-cmd --os-shell --os-pwn --os-smbrelay --os-bof \ - --priv-esc --msf-path --tmp-path --reg-read --reg-add --reg-del \ - --reg-key --reg-value --reg-data --reg-type -s -t --batch \ - --charset --crawl --csv-del --dump-format --eta --flush-session \ - --forms --fresh-queries --hex --output-dir --parse-errors \ - --pivot-column --save --scope --test-filter --update \ - -z --alert --answers --beep --check-waf --cleanup \ - --dependencies --disable-coloring --gpage --identify-waf \ - --mobile --page-rank --purge-output --smart \ - --sqlmap-shell --wizard' -- "$cur" ) ) - # this removes any options from the list of completions that have - # already been specified somewhere on the command line, as long as - # these options can only be used once (in a word, "options", in - # opposition to "tests" and "actions", as in the find(1) manpage). - onlyonce=' -h --help -hh --version -v -d -u --url -l -x -m -r -g -c \ - --drop-set-cookie --random-agent \ - --ignore-401 \ - --ignore-proxy --tor \ - --check-tor \ - --skip-urlencode \ - --force-ssl --hpp -o --predict-output --keep-alive \ - --null-connection -p \ - --invalid-bignum --invalid-logical --invalid-string \ - --no-cast --no-escape \ - --text-only \ - --titles \ - -f --fingerprint \ - -a --all -b --banner --current-user --current-db --hostname \ - --is-dba --users --passwords --privileges --roles --dbs --tables \ - --columns --schema --count --dump --dump-all --search --comments \ - -D -T -C -X -U --exclude-sysdbs \ - --sql-shell --common-tables \ - --common-columns --udf-inject \ - --os-shell --os-pwn --os-smbrelay --os-bof \ - --priv-esc --reg-read --reg-add --reg-del \ - -s -t --batch \ - --eta --flush-session \ - --forms --fresh-queries --hex --parse-errors \ - --save --update \ - -z --beep --check-waf --cleanup \ - --dependencies --disable-coloring --identify-waf \ - --mobile --page-rank --purge-output --smart \ - --sqlmap-shell --wizard ' - COMPREPLY=( $( \ - (while read -d ' ' i; do - [[ -z "$i" || "${onlyonce/ ${i%% *} / }" == "$onlyonce" ]] && - continue - # flatten array with spaces on either side, - # otherwise we cannot grep on word boundaries of - # first and last word - COMPREPLY=" ${COMPREPLY[@]} " - # remove word from list of completions - COMPREPLY=( ${COMPREPLY/ ${i%% *} / } ) - done - printf '%s ' "${COMPREPLY[@]}") <<<"${COMP_WORDS[@]}" - ) ) - -# else -# _filedir bat - fi -} && -complete -F _sqlmap sqlmap diff --git a/dev-db/sqlmap/metadata.xml b/dev-db/sqlmap/metadata.xml deleted file mode 100644 index f1dcf659a2ef..000000000000 --- a/dev-db/sqlmap/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - dev@liguros.net - Development - - - unknown@pentoo.ch - Author Unknown - - - - Use psycopg to directly connect to PostgreSQL DBMS - - ports - \ No newline at end of file diff --git a/dev-db/sqlmap/sqlmap-1.10.4.ebuild b/dev-db/sqlmap/sqlmap-1.10.4.ebuild deleted file mode 100644 index f8e62f3b0a6f..000000000000 --- a/dev-db/sqlmap/sqlmap-1.10.4.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2022-2026 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="sqlite" - -inherit bash-completion-r1 python-single-r1 wrapper - -DESCRIPTION="An automatic SQL injection and database takeover tool" -HOMEPAGE="https://github.com/sqlmapproject/sqlmap" -SRC_URI="https://github.com/sqlmapproject/sqlmap/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="amd64 ~arm64 x86" - -LICENSE="GPL-2" -SLOT=0 -IUSE="doc mysql psycopg" - -RDEPEND=" - ${PYTHON_DEPS} - psycopg? ( dev-python/psycopg ) - mysql? ( dev-python/pymysql ) - dev-python/sqlalchemy -" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -pkg_setup() { - python-single-r1_pkg_setup -} - -src_prepare() { - mv doc/ "${T}"/doc || die - default -} - -src_install () { - dodoc -r \ - README.md \ - $(use doc && echo "${T}/doc/*") - - dodir "/usr/share/${PN}/" - cp -R * "${D}/usr/share/${PN}/" || die - python_optimize "${D}/usr/share/${PN}" - - make_wrapper $PN \ - "python3 /usr/share/${PN}/sqlmap.py" - - newbashcomp "${FILESDIR}"/sqlmap.bash-completion sqlmap -} diff --git a/dev-db/sqlmap/sqlmap-1.10.5.ebuild b/dev-db/sqlmap/sqlmap-1.10.5.ebuild deleted file mode 100644 index f8e62f3b0a6f..000000000000 --- a/dev-db/sqlmap/sqlmap-1.10.5.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2022-2026 Liguros Authors -# Distributed under the terms of the GNU General Public License v2 -EAPI=8 - -PYTHON_COMPAT=( python3_{13..14} ) -PYTHON_REQ_USE="sqlite" - -inherit bash-completion-r1 python-single-r1 wrapper - -DESCRIPTION="An automatic SQL injection and database takeover tool" -HOMEPAGE="https://github.com/sqlmapproject/sqlmap" -SRC_URI="https://github.com/sqlmapproject/sqlmap/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" -KEYWORDS="amd64 ~arm64 x86" - -LICENSE="GPL-2" -SLOT=0 -IUSE="doc mysql psycopg" - -RDEPEND=" - ${PYTHON_DEPS} - psycopg? ( dev-python/psycopg ) - mysql? ( dev-python/pymysql ) - dev-python/sqlalchemy -" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -pkg_setup() { - python-single-r1_pkg_setup -} - -src_prepare() { - mv doc/ "${T}"/doc || die - default -} - -src_install () { - dodoc -r \ - README.md \ - $(use doc && echo "${T}/doc/*") - - dodir "/usr/share/${PN}/" - cp -R * "${D}/usr/share/${PN}/" || die - python_optimize "${D}/usr/share/${PN}" - - make_wrapper $PN \ - "python3 /usr/share/${PN}/sqlmap.py" - - newbashcomp "${FILESDIR}"/sqlmap.bash-completion sqlmap -} -- cgit v1.3