Find RSA primes in files

Overview

RSA Prime Finder

This program searches a file for RSA primes, i.e. primes P & Q, where P*Q == N.

Usage:

prime-finder 0.1
Calle Svensson <[email protected]>
Finds RSA primes in files

USAGE:
    prime-finder [FLAGS] <FILE> --null-filter-length <LENGTH> --prime-size <SIZE>

FLAGS:
    -p, --dump-primes    Prints all primes without verifying P*Q
    -h, --help           Prints help information
    -V, --version        Prints version information

OPTIONS:
    -f, --null-filter-length <LENGTH>    Filters out any primes with a sequence of null bytes this long
    -s, --prime-size <SIZE>              Sets the size in bytes of the prime numbers to search for

ARGS:
    <FILE>    Sets the input file to use

Example:

$ ./prime-finder -f 2 -s 128 core.ssh-agent.15

Finding candidate primes
Validating candidates
Primes in file
P:167243541099979190866104182002593684063398428540905985580688529104434102755374630298513855186521184412065623635823375782841143543354431190121151024872456944525670397782314611126729769980995418102082999058944507085161787868005856111480097679889988573634547815490180714622429211320034107364758312717552229384797 Q:156664661832491901627885331440499088113843612375523571599984946147093194527261959355398998610299827646862742827091361247013625621562088668883094247003885397947818366308231266543720672961356082039678978741437109501689891388439083402321534454255869541578116091674154493855159404390355526119156545778192150673263 N:26201152810096700609395581963526713271469580549801299716013584738385394340350813921338612888695467840401939594250960338053063405999313461123653190679934766504739688264258052403010331351722049138390032193509393759120592354109504824892771744815202436037832297315218822827731630761715885608154179853250206599776516504368814974022846271709230784168710727506169798089606800767486520706741781726786136747097240484380053345055246799469899715418064146175150126034146727442890746480282301130380561241111338711869038505067567137114979871733564191756728428383347027467093925253131450753772602888402679525474063770721355846582611
You might also like...
fas stand for Find all stuff and it's a go app that simplify the find command and allow you to easily search everything you nedd
fas stand for Find all stuff and it's a go app that simplify the find command and allow you to easily search everything you nedd

fas fas stands for Find all stuff and it's a rust app that simplify the find command and allow you to easily search everything you need. Note: current

Find and replace text in source files
Find and replace text in source files

Ruplacer Find and replace text in source files: $ ruplacer old new src/ Patching src/a_dir/sub/foo.txt -- old is everywhere, old is old ++ new is ever

Find files (ff) by name, fast!
Find files (ff) by name, fast!

Find Files (ff) Find Files (ff) utility recursively searches the files whose names match the specified RegExp pattern in the provided directory (defau

Find files with SQL-like queries

Find files with SQL-like queries

A TUI to quickly find files in your Google Drive
A TUI to quickly find files in your Google Drive

A TUI to quickly find files in your Google Drive

a rust library to find near-duplicate video files

Video Duplicate Finder vid_dup_finder finds near-duplicate video files on disk. It detects videos whose frames look similar, and where the videos are

A (aspiring to be fast) tool to find duplicate files.

find-duplicates A decenly fast tool to find duplicate files. Handles symbolic and hard links and treats them seperately to duplicates. Quickstart Inst

 🔎 Search millions of files at lightning-fast speeds to find what you are looking for
🔎 Search millions of files at lightning-fast speeds to find what you are looking for

🔎 Search millions of files at lightning-fast speeds to find what you are looking for

Ruplacer - Find and replace text in source files

Ruplacer - Find and replace text in source files

🕵️‍♀️ Find, locate, and query files for ops and security experts ⚡️⚡️⚡️
🕵️‍♀️ Find, locate, and query files for ops and security experts ⚡️⚡️⚡️

Recon Find, locate, and query files for ops and security experts Key Features • How To Use • Download • Contributing • License Key Features Query with

CLI tool to find duplicate files based on their hashes.

Dupper Dupper is a CLI tool that helps you identify duplicate files based on their hashes (using the Seahash hashing algorithm). Installation You can

A Rust library to parse Blueprint files and convert them into GTK UI files

🦀 gtk-ui-builder A Rust library to parse Blueprint files and convert them into GTK UI files Inspired by the Blueprint project Example 1 - blueprints

A tool that allow you to run SQL-like query on local files instead of database files using the GitQL SDK.
A tool that allow you to run SQL-like query on local files instead of database files using the GitQL SDK.

FileQL - File Query Language FileQL is a tool that allow you to run SQL-like query on local files instead of database files using the GitQL SDK. Sampl

A simple, fast and user-friendly alternative to 'find'

fd [中文] [한국어] fd is a program to find entries in your filesytem. It is a simple, fast and user-friendly alternative to find. While it does not aim to

Find all your TODO notes with one command!

Todo_r Find all your notes with one command! Todo_r is a simple rust command line utility that keeps track of your todo items in code. It is pronounce

Cassandra DB native client written in Rust language. Find 1.x versions on https://github.com/AlexPikalov/cdrs/tree/v.1.x Looking for an async version? - Check WIP https://github.com/AlexPikalov/cdrs-async
Cassandra DB native client written in Rust language. Find 1.x versions on https://github.com/AlexPikalov/cdrs/tree/v.1.x Looking for an async version? - Check WIP https://github.com/AlexPikalov/cdrs-async

CDRS CDRS is looking for maintainers CDRS is Apache Cassandra driver written in pure Rust. 💡 Looking for an async version? async-std https://github.c

A Quest to Find a Highly Compressed Emoji :shortcode: Lookup Function

Highly Compressed Emoji Shortcode Mapping An experiment to try and find a highly compressed representation of the entire unicode shortcodes-to-emoji m

Intuitive find & replace CLI (sed alternative)

sd - s[earch] & d[isplace] sd is an intuitive find & replace CLI. The Pitch Why use it over any existing tools? Painless regular expressions sd uses r

Find the ideal fuzz targets in a Rust codebase

Siderophile Siderophile finds the "most unsafe" functions in your Rust codebase, so you can fuzz them or refactor them out entirely. It checks the cal

Owner
Calle Svensson
Calle Svensson
Save disk space by cleaning non-essential files from software projects.

Kondo ?? Cleans unneeded directories and files from your system. It will identify the disk space savings you would get from deleting temporary/unneces

Trent 920 Dec 27, 2022
CLI utility to move (or rename) your files to a new location and redirect all of its symbolic links, to the new path

Move Links CLI utility to move (or rename) your files to a new location and redirect all of its symbolic links, to the new path (or name). Usage execu

Ben Mefteh 18 May 22, 2022
Calculate primes since the first number until the 10001th

find_prime Explaining this code: find_prime is a function that takes the nth index to be calculated. Note that this nth does not follow the array conv

Ciro Dourado 3 Apr 29, 2021
Lazy Sieve of Eratosthenes for infinitely generating primes lazily in Rust.

lazy-prime-sieve Lazy Sieve of Eratosthenes for infinitely generating primes lazily in Rust. Usage lazy-prime-sieve is a library crate. You may add it

Arindam Das 2 Jul 13, 2023
Simple RSA VDF in Rust

Simple RSA VDF in Rust

[ZenGo X] 16 Jul 22, 2022
RSA implementation in pure Rust

RSA A portable RSA implementation in pure Rust. ⚠️ WARNING: This crate has been audited by a 3rd party, but a full blog post with the results and the

Rust Crypto 346 Jan 4, 2023
Mild RSA implementation written in Rust for a class.

rust_rsa About this repo This is my Rust implementation of the RSA encryption standard, based on this book. This is for my CS 3000 - Advanced Algorith

Star 0 May 6, 2022
RSA dependency for rust, with cert verification

About Project End to End encryption (RSA) for multiple languages (cross-platform) with double encryption and double decryption methods Icon Item ?? Up

Zot Cryptography 2 Nov 27, 2022
Noir implementation of RSA-verify

noir-rsa This repository contains an implementation of a RSA signature verify for the Noir language. Currently supports pkcs1v15 + sha256 and exponent

Set Labs 5 Jul 22, 2023
fd is a program to find entries in your filesystem. It is a simple, fast and user-friendly alternative to find

fd is a program to find entries in your filesystem. It is a simple, fast and user-friendly alternative to find. While it does not aim to support all of find's powerful functionality, it provides sensible (opinionated) defaults for a majority of use cases.

David Peter 25.9k Jan 9, 2023