Library Manager
The library command is used to manage a personal collection of useful links and resources, like cheat sheets, online tools, or documentation pages. It acts as a simple bookmark manager within pwnity.
Concepts
- Library Entry: A single item in your library, identified by a unique name (e.g.,
gtfobins). - URL: The web address for the resource.
- Fields: Each entry is a collection of key-value pairs. The
urlfield is special, but you can add any other fields you find useful.
Common Workflow
- Add a new entry:
library add gtfobins
- Add a URL and other details:
library update gtfobins url https://gtfobins.github.io/
library update gtfobins comment "Curated list of Unix binaries for living off the land."
- List all entries:
library list
- View details of an entry:
library show gtfobins
- Open the URL in a browser:
library open gtfobins
Subcommands
add <name>: Creates a new, empty library entry.list: Lists the names of all saved library entries.show <name>: Displays all details for a specific entry.update <name> <field> <value>: Adds or changes a field for an entry.open <name>: Opens the entry's URL in your default web browser.rename <old_name> <new_name>: Renames an entry.delete <name> [field]: Deletes a specific field or the entire entry.destroy <name>: Permanently deletes an entry and its file.export <name>: Generates thelibrarycommands needed to recreate an entry.