Skip to content

HugoDab/searchInGithubRepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SearchInGithubRepo

Bash scripts

CreateSlitherFile


Creates a slither file from the repository list and the finderGithub results.

FindInGithubSearch


Searches for a string inside every git repository from a search in GitHub. It first gets repositories that correspond to the given query. Then, it finds, inside the JS and TS files of every repository, every occurrence of signTypedData, eth_sign and personal_sign.

FinderGithub


Searches for a string inside every git repository from a list of repositories. It downloads the repository and then searches within the files for specific strings.

GetAllRepoFromOrganization


Searches a list of git repositories for a specific organization.

GetName


Writes into a file the name of repositories from GitHub links.

LaunchSlitherAnalysis


Launch the slither backdoor for every repo in the given list. The list must be a slither file, which is a CSV file containing the list of the repositories and their corresponding paths to ecrecover files

LaunchSlitherOverDir


Launch the slither analysis on every slither file in the given directory or its subdirectories. The bash script launchSlitherAnalysis.sh must be in a subdirectory of current directory.

MergeFile


Writes into a file the elements of file1 that are not in file2.

ResultsToCSVFromDir


Transforms every result from finderGithub from a directory into CSV file.
It will search for file finishing with results.txt | res.txt | result.txt.
The python script finder_github_results_to_csv must be in a subdirectory of current directory.

SearchInOrganization


Searches for a string inside all git repositories from an organization. It first searches a list of git repositories for a specific organization. And then, looks for a string inside every git repository from a list of repositories.

Search Repo


Searches a list of git repositories corresponding to a query.

Python

add_name_link_to_search_result


Adds the name and the link of GitHub repositories to the output of finderGithub in CSV format.

finder_github_results_to_csv


Converts the output of finderGithub to a CSV file.

get_sign_typed_data_matched_file


Take the CSV result file from finderGithub and find the GitHub repositories that contains an ecrecover function inside their files.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published