Git Product home page Git Product logo

quick-lookup-ptrun's Introduction

Quick Lookup Plugin for PowerToys Run

build-status GitHub release (latest by date including pre-releases)

This plugin for PowerToys Run allows you to quickly search for an IP address, domain name, hash or any other data points in a list of Cyber Security tools. It's perfect for security analysts, penetration testers, or anyone else who needs to quickly lookup information when investigating artifacts or alerts.

Installation

NOTE: As of Power Toys Run v0.72.0 or v0.73.0 (Not 100% sure as the release notes don't mention this), the directory for Powertoys Run plugins was changed!

If you already installed this or another plugin and it recently stopped working this may be why. You will need to move the plugin(s) from the old directory to the new one.

The old plugin directory was:

  • For machine wide install of PowerToys: C:\Program Files\PowerToys\modules\launcher\Plugins
  • For per user install of PowerToys: C:\Users\<yourusername>\AppData\Local\PowerToys\modules\launcher\Plugins

To install the plugin:

  • Navigate to your Powertoys Run Plugin folder
    • For machine wide install of PowerToys: C:\Program Files\PowerToys\RunPlugins
    • For per user install of PowerToys: C:\Users\<yourusername>\AppData\Local\PowerToys\RunPlugins
  • Create a new folder called QuickLookup
  • Extract the contents of the zip file into the folder you just created
  • Restart PowerToys and the plugin should be loaded under the Run tool settings and work when promted with ql

ptr-ql

Usage

To use the plugin, simply open PowerToys Run by pressing Alt+Space and type the activation command ql followed by the tool category and the data you want to lookup.

ptr-v1 2 0

The plugin will open the data searched in a new tab in your default browser for each tool registered with that category.

QuickLookup

Default Tools

This plugin currently comes default with the following tools:

Configuration

NOTE: Prior to version 1.3.0 tools.conf was the default configuration file used.

The plugin will now automatically convert the tools.conf list to tools.json if it does not already exist in JSON form and will then default to using that instead.
The legacy config file will remain however will not be used and will not be included in future builds starting from v1.3.0

By default, the plugin will use the precofigured tools listed above. You can modify these settings by editing the tools.json file in the plugin folder.
The format for the configuration file follows the below standard:

{
    "Name": "VirusTotal",
    "URL": "https://www.virustotal.com/gui/search/{0}",
    "Categories": [ "ip", "domain", "hash"],
    "Enabled": true
}

In the URL, {0} will be replace with the search input. As such, only sites that work based on URL data (GET Requests) are supported for now.
For example, https://www.virustotal.com/gui/search/{0} would become https://www.virustotal.com/gui/search/1.1.1.1

License

This plugin is licensed under the MIT License. Feel free to use, modify, and distribute the code as you see fit. If you make any improvements or bugfixes, please consider contributing back to the project by opening a pull request.

quick-lookup-ptrun's People

Contributors

gtgalaxi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

quick-lookup-ptrun's Issues

Installation Path

Discussed in #1

Originally posted by bdorr1105 April 16, 2023
I just wanted to point out that based on the per user PowerToys Installation, the path differs from the default Program Files path. The rest of the instructions are the same, however, the path is in a hidden directory.

C:\Users<yourusername>\AppData\Local\PowerToys\modules\launcher\Plugins

Update readme and installation instructions to reflect both installation types for PowerToys

Please support me wt Quick Lookup Plugin

Quoted from email received by user

Hello, i'm using plugin Quick Lookup, this's my syntax for chat gpt search. But it only enters the first word of a paragraph. Help me get him to fill out what I'm entering.
------
{
    "Name": "GPT",
    "URL": "[https://chat.openai.com/chat?q={0}](https://chat.openai.com/chat?q=%7B0%7D)",
    "Categories": ["q"],
    "Enabled": true
}
------
Many thanks!

Implementation of split to seperate query from category resulted in only the first entry before the next space being taken in.
ie. ql ip 192.168.0.1 192.168.0.2 would only take 192.168.0.1 and ignore anything after it.

To fix this, split once on first space for category and everything after would be one long string. This will allow entering sentences.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.