AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-1894647

david9240's questions

Martin Hope
david9240
Asked: 2024-08-16 12:40:04 +0800 CST

已安装的软件包未显示在 ubuntu 终端中,是否可以删除它?但如果我检查这些软件包的版本,它会在终端中显示出来吗?

  • 6

我想在我的 ubuntu 虚拟盒中卸载一个名为 Knockpy 的软件包。当我尝试卸载它时,它显示如下

 sudo apt-get remove knockpy
[sudo] password for david: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'knockpy' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

但如果我去终端并检查已安装的版本,它就在那里可见......

david@david:~/Desktop$ knockpy --version
KNOCKPY 7.0.1
david@david:~/Desktop$ 

avid@david:~/Desktop$ knockpy
usage: KNOCKPY [-h] [-d DOMAIN] [-f FILE] [-v] [--dns DNS]
               [--useragent USERAGENT] [--timeout TIMEOUT] [--threads THREADS]
               [--recon] [--bruteforce] [--wordlist WORDLIST] [--wildcard]
               [--json] [--save FOLDER] [--report REPORT]

knockpy v.7.0.1 - Subdomain Scan
https://github.com/guelfoweb/knock

options:
  -h, --help            show this help message and exit
  -d DOMAIN, --domain DOMAIN
                        domain to analyze
  -f FILE, --file FILE  domain list from file path
  -v, --version         show program's version number and exit
  --dns DNS             custom dns
  --useragent USERAGENT
                        custom useragent
  --timeout TIMEOUT     custom timeout
  --threads THREADS     custom threads
  --recon               subdomain reconnaissance
  --bruteforce          subdomain bruteforce
  --wordlist WORDLIST   wordlist file to import
                        --bruteforce option required
  --wildcard            test wildcard and exit
  --json                shows output in json format
  --save FOLDER         folder to save report
  --report REPORT       shows saved report

我通过以下命令安装了这个knockpy工具

git clone https://github.com/guelfoweb/knock.git
cd knock
pipx install git+https://github.com/guelfoweb/knock.git

我再次检查包裹是否仍然可见

david@david:~/Desktop$ apt show knockpy
Package: knockpy
Version: 7.0.0-2
Priority: optional
Section: universe/python
Origin: Ubuntu
Maintainer: Ubuntu Developers <[email protected]>
Original-Maintainer: Gianfranco Costamagna <[email protected]>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 119 kB
Depends: python3-bs4 (>= 4.12.3), python3-dnspython, python3-openssl, python3-requests, python3-tqdm, python3:any
Homepage: https://github.com/guelfoweb/knock
Download-Size: 35.4 kB
APT-Sources: http://in.archive.ubuntu.com/ubuntu noble/universe amd64 Packages
Description: Python3 tool designed to enumerate subdomains on a target domain
 Knockpy is a Python tool designed to enumerate subdomains on a target domain
 through a wordlist.
david@david:~/Desktop$ pipx uninstall knockpy Nothing to uninstall for knockpy 😴 ⚠️  Note: '/home/david/.local/bin/knockpy' still exists on your system and is on your PATH david@david:~/Desktop$  
someone please look into these issue. what went wrong ?
package-management
  • 2 个回答
  • 52 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve