├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── feature_request.md │ └── general_issue.md └── pull_request_template.md ├── C++ ├── Primality_Test │ ├── primality.txt │ ├── primalitytest.cpp │ └── primalitytestdocument.txt ├── counting-days │ ├── README.md │ └── count.cpp └── program-timing │ ├── README.md │ ├── Screenshot.png │ └── time_script.cpp ├── C ├── Program-Timer │ ├── README.md │ ├── output.png │ └── timer.c ├── Weather-Details │ ├── .gitignore │ ├── Makefile │ ├── README.md │ ├── output.png │ ├── weather │ └── weather.c ├── Wifi-Passwords │ ├── README.md │ ├── gen-wifi.c │ └── wifi_password.txt ├── chinese_remainder_theorem │ ├── CRT README.md │ └── CRT.c └── sizeofdirectory │ ├── README.md │ └── sizeoffolder.c ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Java ├── AmazonProductList │ └── AmazonProductListing │ │ ├── .gitignore │ │ ├── .idea │ │ ├── .gitignore │ │ ├── compiler.xml │ │ ├── jarRepositories.xml │ │ ├── misc.xml │ │ └── vcs.xml │ │ ├── README.md │ │ ├── build.gradle │ │ ├── gradlew │ │ ├── gradlew.bat │ │ ├── settings.gradle │ │ └── src │ │ └── main │ │ └── java │ │ └── AmazonProductListClass.java ├── ChineseRemainderTheorem │ ├── CRT.java │ ├── README.md │ └── RelevanceInCryptography.txt ├── DigitalWatchJava │ ├── DigitalWatch.java │ ├── README.md │ └── output.png ├── DirectoryLister │ ├── Readme.MD │ ├── directory.java │ └── images │ │ └── image1.png ├── DownloadSubtitleScript │ ├── DownloadSubtitle │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── dexter_sample_video.mp4 │ │ ├── dexter_sample_video.mp4.srt │ │ ├── get_hash.py │ │ ├── gradlew │ │ ├── gradlew.bat │ │ ├── settings.gradle │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── DownloadSubtitleScript.java │ └── README.md ├── DuplicateFileRemover │ ├── Readme.MD │ ├── duplicate.java │ └── images │ │ └── image1.png ├── Euclid's GCD Algorithm │ ├── Euclid.java │ ├── README.md │ └── RelevanceInCryptography.md ├── FloydAlgorithm │ ├── FloydAlgo.java │ └── README.md ├── Merge2PDFs │ ├── Merge2PDFFiles │ │ ├── .gitignore │ │ ├── MergedPdf.pdf │ │ ├── build.gradle │ │ ├── gradlew │ │ ├── gradlew.bat │ │ ├── pdf1.pdf │ │ ├── pdf2.pdf │ │ ├── settings.gradle │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ └── Merge2PDFs.java │ └── README.md ├── NthDigitMaxPrime │ ├── MaxPrime.java │ └── README.md ├── Password_Strength │ ├── PasswordStrength.java │ └── Readme.md ├── PrimeFactorization │ ├── PrimeFactorization.java │ ├── README.md │ └── RelevanceInCryptography.md ├── RandomMotivationalQuotes │ ├── README.md │ └── RandomMotivationalQuotesGenerator │ │ ├── .gitignore │ │ ├── build.gradle │ │ ├── gradlew │ │ ├── gradlew.bat │ │ └── settings.gradle ├── SizeOfDirectory │ ├── Readme.MD │ ├── images │ │ └── image1.png │ └── size.java └── Sudoku_Solver │ ├── Readme.md │ └── SudokuSolver.java ├── JavaScript ├── Alarm_Clock │ ├── Readme.md │ ├── audio.mp3 │ ├── index.html │ ├── index.js │ └── style.css ├── Amazon-Scrape │ ├── .gitignore │ ├── README.md │ ├── images │ │ └── Amazon-Scrape.png │ ├── index.js │ ├── package-lock.json │ └── package.json ├── AqiDetector │ ├── README.md │ ├── app.js │ ├── capture.JPG │ ├── index.html │ └── style.css ├── BatteryStatus │ ├── README.md │ ├── app.js │ ├── index.html │ └── style.css ├── Bulk-Linkedin-request │ ├── Readme.MD │ ├── images │ │ ├── console.png │ │ └── developerTool.png │ └── script.js ├── Bulk-Linkedinrequest-accept │ ├── Images │ │ ├── Code.png │ │ └── JavascriptConsole.png │ ├── Readme.txt │ └── accept_code.txt ├── CircularImages │ ├── Readme.MD │ ├── images │ │ ├── image1.png │ │ ├── image2.png │ │ └── image3.png │ ├── index.html │ └── style.css ├── CountingDays │ ├── Readme.MD │ ├── images │ │ └── image1.png │ ├── index.html │ └── style.css ├── Counting_Days │ ├── Readme.md │ └── script.js ├── CurrencyConverter │ ├── README.md │ ├── app.js │ ├── capture.JPG │ ├── index.html │ └── style.css ├── Currency_Converter_CLI │ ├── Readme.md │ ├── requirements.txt │ └── script.js ├── DNS-Lookup-NodeJS │ ├── README.md │ ├── dns-lookup.js │ └── images │ │ └── dns-lookup.png ├── Digital-Clock │ ├── README.md │ ├── images │ │ └── Digital-Clock.png │ ├── index.html │ ├── index.js │ └── style.css ├── Email-Bomber-NodeJS │ ├── .gitignore │ ├── README.md │ ├── images │ │ └── Email-Bomber.png │ ├── index.js │ ├── package-lock.json │ └── package.json ├── Links-From-Webpage │ ├── Readme.md │ └── script.js ├── Merge-PDFs │ ├── .gitignore │ ├── README.md │ ├── images │ │ └── merge-pdfs.png │ ├── index.js │ ├── package-lock.json │ └── package.json ├── Random_Quote_Generator │ ├── Readme.md │ ├── index.html │ ├── index.js │ └── style.css ├── Sudoku-Solver-JS │ ├── README.md │ ├── images │ │ ├── first.png │ │ ├── second.png │ │ └── third.png │ ├── index.html │ ├── index.js │ └── style.css ├── Text_to_Speech_CLI │ ├── Readme.md │ ├── requirements │ └── script.js ├── WeatherForecast │ ├── Capture.JPG │ ├── README.md │ ├── app.js │ ├── index.html │ └── style.css ├── Web-Technologies-Detector │ ├── .gitignore │ ├── README.md │ ├── images │ │ └── web-tech.png │ └── index.js ├── Webpage-as-pdf │ ├── .gitignore │ ├── README.md │ ├── images │ │ └── webpage-pdf.png │ ├── index.js │ ├── package-lock.json │ └── package.json ├── Youtube-Video-Downloader │ ├── .gitignore │ ├── README.md │ ├── images │ │ └── ytdload.png │ ├── index.js │ ├── package-lock.json │ └── package.json └── news-assistant │ ├── .gitignore │ ├── README.md │ ├── index.js │ ├── news-assistant │ └── index.js │ └── package.json ├── LICENSE ├── Python ├── Admin-Panel │ ├── AdminPanel.py │ ├── README.md │ ├── images │ │ └── adminPanel.png │ ├── links.txt │ └── requirements.txt ├── Amazon-Price-Tracker │ ├── README.md │ ├── assets │ │ ├── change.png │ │ ├── confirm.png │ │ ├── email.png │ │ ├── lesssecure.png │ │ ├── mail.png │ │ ├── myagent.png │ │ ├── range.png │ │ └── single.png │ ├── mail_in_python.py │ ├── price_logger.txt │ └── price_tracker.py ├── Automate-Telegram │ ├── README.md │ ├── assets │ │ ├── code.png │ │ ├── login.png │ │ └── send.png │ └── automate_telegram.py ├── BMICalculator │ ├── README.md │ ├── bmi-calculator.py │ ├── images │ │ └── bmi-calculator.png │ └── requirements.txt ├── Battery-Info │ ├── README.md │ ├── info.py │ ├── output.png │ └── requirements.txt ├── CSV-IP-geolocation │ ├── IP_data.csv │ ├── README.md │ ├── app.py │ └── csv-ip-op.png ├── Caesar Ciper │ ├── Readme.md │ ├── caesar_ciper.py │ ├── caesar_cipher.jpg │ └── output.jpg ├── Certificate_Generator │ ├── Generated_Certificate │ │ └── Altha Monier.png │ ├── Readme.MD │ ├── certificate.py │ ├── images │ │ ├── image1.png │ │ ├── image2.png │ │ └── input1.png │ ├── namelist.txt │ └── template.png ├── Circular_Image │ ├── Readme.md │ ├── circularImg.png │ ├── requirements.txt │ ├── script.py │ └── sunflower.jpg ├── CodeChef_Selenium │ ├── README.md │ └── codechef_selenium_script.py ├── Colortoblack │ ├── Readme.MD │ ├── color.py │ └── images │ │ ├── image1.png │ │ └── image2.png ├── Count_number _of _files │ ├── Count number of files.py │ ├── Output.JPG │ └── README.md ├── Counting-Days │ ├── README.md │ ├── app.py │ └── output.png ├── Crack_Zip_File │ ├── .DS_Store │ ├── README.md │ ├── crack_zip.py │ └── secret.zip ├── Currency-Converter │ ├── README.md │ ├── converter.py │ └── images │ │ └── currency.png ├── DNS-Lookup │ ├── README.md │ ├── lookup.py │ └── output.png ├── Digital_clock │ ├── Digital-clock.py │ ├── README.md │ └── demo.gif ├── Emails_extractor_from_web_pages │ ├── README.md │ ├── emails_extractor.py │ └── requirements.txt ├── Euclidian-GCD │ ├── README.md │ ├── euc_gcd.py │ └── output.png ├── Extract_Contents_of_Zip │ ├── Readme.md │ └── script.py ├── Extract_Image_Metadata │ ├── README.md │ ├── extract_image_metadata.py │ ├── helen.jpeg │ └── image.jpg ├── Face-Detection │ ├── FaceDetection.py │ ├── README.md │ ├── images │ │ ├── Screenshot_20201025_121552.png │ │ └── Screenshot_20201025_121636.png │ └── requirements.txt ├── File-Checksum │ ├── README.md │ ├── checksum.py │ └── output.png ├── Folder_Size │ ├── Readme.md │ └── script.py ├── Free_Disk_Space │ ├── Readme.md │ └── script.py ├── GUI_YouTbe_Downloader │ ├── GUI.py │ ├── README.md │ ├── images │ │ ├── Before_run.jpg │ │ └── Runtime_images.jpg │ ├── you_tube.ico │ └── youtube.png ├── Get-Wifi-Passwords-List │ ├── README.md │ └── wifi-password.py ├── Github-repo-and-contributors │ ├── README.md │ ├── get_info.py │ └── github.PNG ├── GradientDescent │ ├── Readme.MD │ ├── gradient.py │ └── images │ │ ├── image1.jpeg │ │ ├── image2.png │ │ └── image3.png ├── HTML_to_Markdown │ ├── README.md │ ├── how_to_use.PNG │ ├── html_to_markdown.py │ ├── requirements.txt │ └── sample.PNG ├── Hashing file │ ├── app.py │ ├── readme.md │ └── requirements.txt ├── IPL score │ ├── README.md │ ├── first.PNG │ ├── ipl_score.py │ ├── requirements.txt │ └── second.PNG ├── Image-Steganography │ ├── README.md │ ├── hide.py │ ├── images │ │ ├── hiding.png │ │ ├── retrieving.png │ │ ├── sample.png │ │ └── sample_secret.png │ ├── info.txt │ ├── key │ ├── requirements.txt │ └── retrieve.py ├── Image_Sketch │ ├── README.md │ ├── Sketch.py │ ├── obama.jpg │ └── sketch.jpg ├── Image_to_text │ ├── README.md │ ├── Text_in_the_image.txt │ ├── assets │ │ ├── image.PNG │ │ ├── script.PNG │ │ └── text.PNG │ └── image-to-text.py ├── Img-converter-jpg │ ├── Readme.MD │ ├── imageconverter.py │ └── images │ │ ├── image1.png │ │ ├── image2.png │ │ └── image3.png ├── Instagram scraper │ ├── Instagram_scraper.py │ ├── README.md │ └── requirements.txt ├── Instagram-profile │ ├── README.md │ ├── get_profile_photo.py │ └── profile.PNG ├── Instagram_Bot │ ├── README.md │ └── instagram_bot.py ├── Instagram_PostVideo_Download │ ├── .DS_Store │ ├── README.md │ └── download_instagram_post_videos.py ├── Internshala_Scrapper │ ├── Readme.MD │ ├── images │ │ ├── image1.png │ │ ├── image2.png │ │ └── image3.png │ ├── internshala.py │ └── internships1.csv ├── Json_to_yaml │ ├── README.md │ ├── how_to_use.PNG │ ├── json_to_yaml.py │ ├── requirements.txt │ └── sample.PNG ├── K Means │ ├── Images │ │ ├── Datapoints.PNG │ │ ├── plotcentroid.PNG │ │ └── plotclusters.PNG │ ├── K Means Clustering without scikit-learn.ipynb │ └── README.md ├── Keylogger │ ├── .gitignore │ ├── README.md │ ├── img01.jpg │ ├── img02.jpg │ ├── img03.jpg │ ├── img04.png │ ├── img05.png │ ├── img06.png │ ├── requirements.txt │ └── script.py ├── Launching other Programs │ ├── README.md │ └── main.py ├── Linux-Keylogger │ ├── README.md │ ├── logger.py │ └── requirements.txt ├── Location-based-on-IP │ ├── README.md │ ├── assets │ │ ├── error.PNG │ │ ├── ip.PNG │ │ └── location.PNG │ └── get_coordinates.py ├── Mac-Changer │ ├── README.md │ └── mac-change.py ├── Medium-article-scrapper │ ├── Article_downloader.py │ ├── README.md │ └── assets │ │ ├── content.PNG │ │ ├── medium.PNG │ │ └── promptURL.PNG ├── Message_using_textbelt │ ├── README.md │ ├── ScreenShots │ │ ├── message_received.jpg │ │ └── output.png │ └── send_message.py ├── Modular Exponentiation │ ├── README.md │ ├── iterative.PNG │ ├── iterative.py │ ├── recursive.PNG │ └── recursive.py ├── MoorseCodeGenerator │ ├── Readme.MD │ ├── decrypt.py │ ├── encrypt.py │ ├── images │ │ ├── image1.png │ │ └── image2.png │ └── moorse.py ├── Multithreaded-Port-Scanner │ ├── README.md │ ├── images │ │ ├── output1.png │ │ └── output2.png │ └── scan-ports.py ├── Network-Usage-Notifier │ ├── README.md │ ├── app.py │ ├── images │ │ ├── icon.png │ │ ├── op_init.png │ │ └── op_notif.png │ ├── install.py │ └── requirements.txt ├── PDFWatermark │ ├── README.md │ ├── pdf.jpeg │ └── pdf.py ├── PasswordStrenght │ ├── Readme.MD │ ├── images │ │ └── image1.png │ └── password.py ├── Password_Checker │ ├── README.md │ ├── output_password_checker.png │ └── password_checker.py ├── Port-Scanner │ ├── PortScanner.py │ ├── README.md │ ├── images │ │ ├── portscanner1.png │ │ └── portscanner2.png │ └── requirements.txt ├── Program-Timer │ ├── README.md │ ├── images │ │ ├── fail.png │ │ └── success.png │ ├── test_add.py │ └── timer.py ├── Random-password-generator │ ├── README.md │ ├── assets │ │ └── password.PNG │ └── get_password.py ├── Repo-size-and-contributors │ └── get-info.py ├── RestNotifier │ ├── Readme.MD │ ├── images │ │ ├── image2.png │ │ ├── input1.png │ │ └── input2.png │ └── notifier.py ├── Scrap_Top_250_Movies │ ├── README.md │ ├── Scrap_movies_from_imdb.ipynb │ └── output.jpg ├── ScrapePDF │ ├── Readme.md │ ├── ex.png │ └── pdfscrapper.py ├── Shut_down_your_system │ ├── README.md │ ├── images │ │ ├── ss1.jpg │ │ ├── ss2.jpg │ │ ├── ss3.jpg │ │ ├── ss4.jpg │ │ ├── ss5.jpeg │ │ └── ss6.jpeg │ └── shutdown.py ├── Simple_Chatbot │ ├── Readme.md │ ├── basic_chat.aiml │ ├── requirements.txt │ ├── script.py │ └── std-startup.xml ├── Simple_Covid_Notifier │ ├── README.md │ ├── main.py │ └── requirements.txt ├── Speed_test │ ├── readme.md │ ├── requirements.txt │ └── speed_test.py ├── Split_CSV │ ├── README.md │ └── split_csv.py ├── Spotify-Downloader │ ├── README.md │ ├── app.py │ ├── output.png │ └── requirements.txt ├── Substitution_Cipher │ ├── README.md │ ├── assets │ │ ├── encrypt.PNG │ │ ├── key.PNG │ │ └── key.csv │ └── substitution_cipher.py ├── SudokuSolver │ ├── Readme.MD │ ├── images │ │ ├── image1.png │ │ └── image2.png │ └── sudoku.py ├── Sympy │ ├── .ipynb_checkpoints │ │ └── Sympy-checkpoint.ipynb │ ├── README.md │ └── Sympy.ipynb ├── TCP-Chat-Room │ ├── README.md │ ├── client-side.py │ ├── images │ │ ├── client1.png │ │ ├── client2.png │ │ └── server.png │ └── server-side.py ├── TSV-To-CSV │ ├── README.md │ ├── images │ │ ├── command.png │ │ ├── input.png │ │ └── output.png │ └── tsv-to-csv.py ├── Terminal_Dictionary │ ├── README.md │ ├── dictionary.py │ └── img.jpeg ├── TextToSpeech │ ├── Readme.MD │ ├── images │ │ └── image1.png.png │ ├── text.py │ └── text_content.mp3 ├── Text_To_Speech_Cli │ ├── README.md │ └── cli_text_to_speech.py ├── ToonifyImage │ ├── Readme.MD │ ├── images │ │ ├── output.jpg │ │ └── rohit.png │ ├── output.jpg │ └── toonify.py ├── URL_Shortener │ ├── Readme.md │ ├── requirements.txt │ └── script.py ├── Uni_Linear_Reg │ ├── Images │ │ └── Reg_plot.PNG │ ├── README.md │ └── Uni_linear_regression.ipynb ├── Weather-Details │ ├── .gitignore │ ├── README.md │ ├── images │ │ └── weather.png │ └── weather.py ├── WebCrawler │ ├── Readme.MD │ ├── images │ │ ├── Screenshot (271).png │ │ ├── input.png │ │ └── output.png │ └── webcrawler.py ├── Web_Technologies_Detector │ ├── README.md │ └── web_technologies_detector.py ├── Windows-Reverse-Shell │ ├── README.md │ ├── attacker.py │ ├── images │ │ ├── attacker.png │ │ └── victim.png │ └── victim.py ├── Word_meaning │ ├── README.md │ ├── how_to_use.PNG │ ├── requirements.txt │ └── word_meaning.py ├── XSS-Check │ ├── README.md │ ├── XSS-Check.py │ ├── images │ │ └── xss-check.png │ ├── payloads.txt │ └── requirements.txt ├── amazon-products │ ├── README.md │ ├── amazon.py │ └── ex.png ├── banner │ ├── README.md │ ├── Screenshot (591).png │ └── banner.py ├── bitcoin-price │ ├── README.md │ ├── current_price.py │ └── requirements.txt ├── check-file-exists │ ├── README.md │ ├── Screenshot (587).png │ └── check.py ├── circle_detection │ ├── README.md │ ├── circle.py │ ├── img.jpeg │ └── out.png ├── cracking hashed password │ ├── README.md │ ├── app.py │ ├── hash.xls │ └── requirements.txt ├── email-bomber │ ├── README.md │ └── bomber.py ├── fake_name_generator │ ├── README.md │ ├── app.py │ └── requirements.txt ├── folder_zip │ ├── README.md │ ├── convert.py │ ├── gui.py │ ├── pic1.gif │ └── requirements.txt ├── human-detection │ ├── README.md │ ├── human-detection.py │ ├── images │ │ ├── result.png │ │ └── sample.jpg │ └── requirements.txt ├── image-resizer │ ├── README.md │ ├── image-resizer.py │ ├── original-image.jpg │ ├── requirements.txt │ └── resized-image-examples │ │ ├── 1000x1000.png │ │ ├── 100x100.png │ │ └── 500x500.png ├── invisibility-cloak │ ├── README.md │ ├── background-image.py │ ├── images │ │ ├── cloak-gif.gif │ │ └── output.png │ └── invisible.py ├── mergetwopdf │ ├── Readme.MD │ ├── merge.py │ ├── pdf1.pdf │ └── pdf2.pdf ├── n-digit-largestprime │ ├── README.md │ └── nlargestprime.py ├── news-assistant │ ├── README.md │ └── news.py ├── quotes │ ├── README.md │ └── quote.py ├── remove_duplicate_files │ ├── README.md │ ├── file1.txt │ ├── file2.txt │ └── remove.py ├── screen-recording │ ├── README.md │ ├── record.py │ └── requirements.txt ├── send_email │ ├── Readme.md │ └── script.py ├── shape-detection │ ├── README.md │ ├── Shape_Detection.py │ └── images │ │ ├── Test1.png │ │ ├── Test2.png │ │ └── Test3.png ├── simpy │ ├── README.md │ ├── simpy_1.png │ └── ticketing_model.py ├── sql_to_csv_ │ ├── README.md │ ├── Screenshot.png │ ├── requirements.txt │ └── sql_to_csv.py ├── subdomains │ ├── README.md │ ├── Screenshot (499).png │ ├── domains.py │ ├── requirements.txt │ └── subdomains.txt ├── subdub │ ├── README.md │ ├── justified.mp4 │ ├── requirements.txt │ └── subdub.py ├── system information │ ├── app.py │ ├── readme.md │ └── requirements.txt ├── text_preprocessing_nlp │ ├── Readme.md │ └── textpreprocessing.ipynb ├── twitter-automation │ ├── README.md │ ├── images │ │ ├── Screenshot (476)_LI.jpg │ │ ├── apply_to_make_a_bot.png │ │ ├── confirm_email.png │ │ ├── edit_app_permissions.png │ │ ├── enter_app_name.png │ │ ├── enter_info.png │ │ ├── keys.png │ │ ├── open_dev_link.png │ │ └── skip to dashboard.jpg │ ├── requirements.txt │ └── tweet.py ├── watermark_video │ ├── README.md │ ├── images │ │ ├── input.png │ │ └── video.png │ └── watermark.py ├── webpage-to-pdf │ ├── README.md │ └── convert.py ├── whatsapp-automation │ ├── README.md │ ├── debug.log │ ├── ezgif.gif │ ├── message-automation.py │ └── requirements.txt ├── youtube-downloader │ ├── README.md │ └── download.py └── zoom_automation │ ├── README.md │ ├── join_btn.png │ ├── join_button_img.png │ ├── main.py │ ├── media_btn.png │ ├── meeting_id_btn.png │ ├── meeting_pswd.png │ └── schedule.csv ├── README.md └── hack.gif /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | 5 | --- 6 | 7 | **Describe the bug** 8 | 9 | 10 | 11 | **To Reproduce** 12 | 13 | Steps to reproduce the behavior: 14 | 15 | * Step1 16 | * Step2 17 | * ... 18 | 19 | **Expected behavior** 20 | 21 | 22 | **Screenshots** 23 | 24 | 25 | **Additional context** 26 | 27 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | 5 | --- 6 | 7 | **Is your feature request related to a problem? Please describe.** 8 | 9 | 10 | **Describe the solution you'd like** 11 | 12 | 13 | **Describe alternatives you've considered** 14 | 15 | 16 | **Additional context** 17 | 18 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/general_issue.md: -------------------------------------------------------------------------------- 1 | Before you open an issue, please check if a similar issue already exists or has been closed before. Remember, an issue is not the place to ask questions. You can use Stack Overflow for that. 2 | 3 | ### Subject of the issue: 4 | Describe your issue here. A description of the problem you're trying to solve. 5 | 6 | ### Mention expected Result or Output of your issue: 7 | 8 | ### Mention language you want to work on: 9 | -------------------------------------------------------------------------------- /C++/Primality_Test/primality.txt: -------------------------------------------------------------------------------- 1 | The time complexity of this program is O(sqrt(n)). 2 | space complxity is O(1). 3 | sample input and output 4 | 2 5 | 4 6 | 5 7 | 8 | yes 9 | no 10 | yes 11 | -------------------------------------------------------------------------------- /C++/Primality_Test/primalitytest.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | using namespace std; 3 | bool isprime(int num) // use of boolean function to check primality of number 4 | { 5 | if(num==1) // natural number 6 | return false; 7 | for(int i=2;i*i<=num;i++) 8 | { 9 | if(num%i==0) //Even number 10 | return false; 11 | } 12 | return true; 13 | } 14 | int main() 15 | { 16 | int num,t; 17 | cin>>t;// enter the number of test cases 18 | while(t--) 19 | { 20 | cin>>num; 21 | if(isprime(num)) // if number is prime. 22 | cout<<"yes"< 8 | Enter the day,month and year of upcoming birthday 9 | -------------------------------------------------------------------------------- /C++/program-timing/README.md: -------------------------------------------------------------------------------- 1 | # Script to check program timing 2 | - - - - - - - - - - - - - - 3 | The aim of this script is to check how long a program is running in seconds and milli seconds. 4 | 5 | # To use 6 | Simply run the ```time_script.cpp``` file and define the required functions. Then functions can be called between
7 | ```auto start clock``` and ```auto stop clock``` 8 | 9 | # Example 10 | 11 | ![alt-text](https://github.com/TaniaMalhotra/hacking-tools-scripts/blob/program-timing/C%2B%2B/program-timing/Screenshot.png) 12 | -------------------------------------------------------------------------------- /C++/program-timing/Screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/C++/program-timing/Screenshot.png -------------------------------------------------------------------------------- /C/Program-Timer/README.md: -------------------------------------------------------------------------------- 1 | # Program Timing 2 | This script checks the time required to run a function in C. 3 | 4 | 5 | ## To use 6 | * Edit `void function` and write your own operations. 7 | * Compile with `gcc timer.c -o timer`. 8 | * Execute with `./timer` 9 | 10 | **Time Complexity:** O(1) 11 | **Space Complexity:** 0(1) 12 | 13 | ## Output 14 | ![output](output.png) 15 | -------------------------------------------------------------------------------- /C/Program-Timer/output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/C/Program-Timer/output.png -------------------------------------------------------------------------------- /C/Program-Timer/timer.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | // Placeholer function to edit: 5 | void function(){ 6 | int a, b; 7 | printf("Enter numbers to add(space separated):"); 8 | scanf("%d %d", &a, &b); 9 | printf("Sum of %d and %d is %d.\n", a, b, a+b); 10 | } 11 | 12 | int main(int argc, char *argv[]) 13 | { 14 | /* 15 | Create start and end clock variables of type `clock_t` 16 | and time the function. 17 | */ 18 | clock_t start = clock(); 19 | function(); 20 | clock_t end = clock(); 21 | 22 | // Divide clock difference with CLOCKS_PER_SEC to convert time to seconds 23 | // and then typecast it to double. 24 | double time_taken = ((double)(end - start))/CLOCKS_PER_SEC; 25 | 26 | printf("function took %f seconds to execute\n", time_taken); 27 | 28 | return 0; 29 | } 30 | -------------------------------------------------------------------------------- /C/Weather-Details/.gitignore: -------------------------------------------------------------------------------- 1 | key -------------------------------------------------------------------------------- /C/Weather-Details/Makefile: -------------------------------------------------------------------------------- 1 | geom: weather.c 2 | gcc weather.c -lcurl -ljson-c -o weather 3 | touch key 4 | 5 | cleanup: 6 | rm weather 7 | -------------------------------------------------------------------------------- /C/Weather-Details/README.md: -------------------------------------------------------------------------------- 1 | # Get Weather Details of a city 2 | The following program uses cURL to perform an HTTP GET request to Open Weather API. The reponse(JSON) is then parsed with the help of json-c library to extract the necessary information. Makefile is responsible for automated compilation of the script. Terminal output is colored using ANSI codes for green and yellow. 3 | 4 | ## Dependencies 5 | * cURL 6 | * json-c 7 | 8 | ## Running script 9 | * Build by running: `make` 10 | * Save your API key in `key` file. 11 | * Execute by : `./weather ` 12 | * for e.g : `./weather Kolkata` 13 | 14 | ## Output 15 | 16 | ![output](output.png) 17 | -------------------------------------------------------------------------------- /C/Weather-Details/output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/C/Weather-Details/output.png -------------------------------------------------------------------------------- /C/Weather-Details/weather: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/C/Weather-Details/weather -------------------------------------------------------------------------------- /C/Wifi-Passwords/README.md: -------------------------------------------------------------------------------- 1 | # Saved Wifi Passwords 2 | A cross platform C program which queries and writes all saved WiFi networks and their passwords in a text file. 3 | 4 | ## Executing the Program: 5 | * Compile the program: `gcc gen-wifi.c`. 6 | * On windows, do `a.exe`. 7 | * On Linux, do `./a.out`. 8 | 9 | **Sample use case:** 10 | Let's say you want to share the your wifi password to your friend but you dont remember it clearly then you can use this script to find the saved password. 11 | 12 | **Contents of `wifi_password.txt`:** 13 | ```txt 14 | : 15 | : 16 | . 17 | . 18 | . 19 | ``` 20 | -------------------------------------------------------------------------------- /C/Wifi-Passwords/wifi_password.txt: -------------------------------------------------------------------------------- 1 | : 2 | -------------------------------------------------------------------------------- /C/chinese_remainder_theorem/CRT README.md: -------------------------------------------------------------------------------- 1 | # Chinese Remainder Theorem 2 | we are given k numbers which are pairwise coprime, and given remainders of these numbers when an unknown number x is divided by them. We need to find the minimum possible value of x that produces given remainders. 3 | 4 | ## sample input/output: 5 | Enter size of array:3
6 | Enter value of coprime numbers:3
7 | 4
8 | 5
9 | Enter value of remainders:2
10 | 3
11 | 1
12 | Minimum number found is 11
13 | 14 | ## Relevance in Cryptography: 15 | CRT based secured encryption scheme is fast and easy to implement.
16 | Below is the link of a paper published by IEEE explaining how CRT is a good alternate encryption system to deal with multiple secrets and users.
17 | https://ieeexplore.ieee.org/document/6194470 18 | -------------------------------------------------------------------------------- /C/sizeofdirectory/README.md: -------------------------------------------------------------------------------- 1 | This C program scan the current directory and display total size in bytes 2 | 3 | Header file and function used 4 | 5 | The type DIR is defined in the header file 6 | 7 | The readdir() function returns a pointer to a structure representing the directory entry at the current position in the stream 8 | -------------------------------------------------------------------------------- /C/sizeofdirectory/sizeoffolder.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | int main(void) 5 | { 6 | struct dirent *de; // Pointer for directory 7 | int ctr = 0; // variable to store size 8 | DIR *dr = opendir("."); 9 | 10 | if (dr == NULL) //if directory not exist 11 | { 12 | printf("Can't open current directory" ); 13 | return 0; 14 | } 15 | 16 | while ((de = readdir(dr)) != NULL) //if directory exists and till the end of directory 17 | { 18 | FILE* fp = fopen(de->d_name, "r"); 19 | fseek(fp, 0L, SEEK_END); 20 | ctr = ctr + ftell(fp); // calculating the size of each file in folder 21 | fclose(fp); 22 | } 23 | 24 | printf("Directory Size : %d bytes", ctr); 25 | closedir(dr); 26 | return 0; 27 | } 28 | -------------------------------------------------------------------------------- /Java/AmazonProductList/AmazonProductListing/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | .gradle 3 | gradle 4 | src/test 5 | .idea 6 | -------------------------------------------------------------------------------- /Java/AmazonProductList/AmazonProductListing/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /Java/AmazonProductList/AmazonProductListing/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Java/AmazonProductList/AmazonProductListing/.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Java/AmazonProductList/AmazonProductListing/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Java/AmazonProductList/AmazonProductListing/build.gradle: -------------------------------------------------------------------------------- 1 | plugins { 2 | id 'java' 3 | } 4 | 5 | group 'org.example' 6 | version '1.0-SNAPSHOT' 7 | 8 | repositories { 9 | mavenCentral() 10 | } 11 | 12 | dependencies { 13 | testCompile group: 'junit', name: 'junit', version: '4.12' 14 | compile group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '3.141.59' 15 | } 16 | -------------------------------------------------------------------------------- /Java/AmazonProductList/AmazonProductListing/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'AmazonProductListing' 2 | 3 | -------------------------------------------------------------------------------- /Java/ChineseRemainderTheorem/README.md: -------------------------------------------------------------------------------- 1 |

Sample Input:

2 | div: 5 6 7 3 | rem: 1 3 2 4 | 5 |

Sample Output:

6 | 51 7 | 8 |

Explaination: 9 | 51 % 5 =1 10 | 51 % 6 =3 11 | 51 % 7 =2 12 | 13 | Time Complexity:O(Product of all elements of div array) 14 | 15 | -->Objective of CRT is to find the minimum value A,for which when the values divided by A gives the value present in the rem array. 16 | -------------------------------------------------------------------------------- /Java/DigitalWatchJava/output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Java/DigitalWatchJava/output.png -------------------------------------------------------------------------------- /Java/DirectoryLister/Readme.MD: -------------------------------------------------------------------------------- 1 | # Directory Lister 2 | 3 | ## Introduction 4 | ``` 5 | It is a simple java code which help to find number of sub directory and files inside a given directory 6 | ``` 7 | 8 | 9 | ## How to use the code 10 | ``` 11 | 1. Download the given code 12 | 2. Run the directory.java file 13 | 3. Enter the path of your Folder 14 | 3. The number of files and sub directories in the entered directory will be shown as output 15 | ``` 16 | ## Output 17 | 18 | ![endpoint](https://github.com/Tejas1510/hacking-tools-scripts/blob/directory/Java/DirectoryLister/images/image1.png) 19 | 20 | ![built with love](https://forthebadge.com/images/badges/built-with-love.svg) 21 | 22 | Check out my Github profile [Tejas1510!](https://github.com/Tejas1510) 23 | -------------------------------------------------------------------------------- /Java/DirectoryLister/images/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Java/DirectoryLister/images/image1.png -------------------------------------------------------------------------------- /Java/DownloadSubtitleScript/DownloadSubtitle/.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | .idea 3 | build 4 | gradle -------------------------------------------------------------------------------- /Java/DownloadSubtitleScript/DownloadSubtitle/build.gradle: -------------------------------------------------------------------------------- 1 | plugins { 2 | id 'java' 3 | } 4 | 5 | group 'org.example' 6 | version '1.0-SNAPSHOT' 7 | 8 | repositories { 9 | mavenCentral() 10 | } 11 | 12 | dependencies { 13 | testCompile group: 'junit', name: 'junit', version: '4.12' 14 | } 15 | -------------------------------------------------------------------------------- /Java/DownloadSubtitleScript/DownloadSubtitle/dexter_sample_video.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Java/DownloadSubtitleScript/DownloadSubtitle/dexter_sample_video.mp4 -------------------------------------------------------------------------------- /Java/DownloadSubtitleScript/DownloadSubtitle/dexter_sample_video.mp4.srt: -------------------------------------------------------------------------------- 1 | 1 2 | 00:00:05,000 --> 00:00:15,000 3 | Atention: This is a test subtitle. 4 | 5 | 2 6 | 00:00:25,000 --> 00:00:40,000 7 | SubDB - the free subtitle database 8 | http://thesubdb.com 9 | -------------------------------------------------------------------------------- /Java/DownloadSubtitleScript/DownloadSubtitle/get_hash.py: -------------------------------------------------------------------------------- 1 | import os 2 | import hashlib 3 | import sys 4 | 5 | def get_hash(filename): 6 | read_size = 64 * 1024 7 | with open(filename, 'rb') as f: 8 | data = f.read(read_size) 9 | f.seek(-read_size, os.SEEK_END) 10 | data += f.read(read_size) 11 | return hashlib.md5(data).hexdigest() 12 | 13 | if sys.argv[1] is not None: 14 | print(get_hash(sys.argv[1])) 15 | else: 16 | print("-1") -------------------------------------------------------------------------------- /Java/DownloadSubtitleScript/DownloadSubtitle/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'DownloadSubtitle' 2 | 3 | -------------------------------------------------------------------------------- /Java/DuplicateFileRemover/Readme.MD: -------------------------------------------------------------------------------- 1 | # Duplicate File Remover 2 | 3 | ## Introduction 4 | ``` 5 | It is a simple java code which help to delete all the duplicate file from a user specified Directory 6 | ``` 7 | ## How to use the code 8 | ``` 9 | 1. Download the given code 10 | 2. Run the duplicate.java file 11 | 3. Enter the path of your Folder 12 | 3. All Duplicate files will be removed 13 | ``` 14 | ## Output 15 | 16 | ![endpoint](https://github.com/Tejas1510/hacking-tools-scripts/blob/duplicate/Java/DuplicateFileRemover/images/image1.png) 17 | 18 | ![built with love](https://forthebadge.com/images/badges/built-with-love.svg) 19 | 20 | Check out my Github profile [Tejas1510!](https://github.com/Tejas1510) 21 | -------------------------------------------------------------------------------- /Java/DuplicateFileRemover/images/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Java/DuplicateFileRemover/images/image1.png -------------------------------------------------------------------------------- /Java/Euclid's GCD Algorithm/Euclid.java: -------------------------------------------------------------------------------- 1 | // Java program to demonstrate working of extended 2 | import java.util.*; 3 | import java.io.*; 4 | 5 | class Euclid 6 | { 7 | /*Recursive function to calculate gcd using Euclid's algo*/ 8 | public static int gcd(int a,int b) 9 | { 10 | if (a==0) 11 | return b; 12 | 13 | return gcd(b%a, a); 14 | } 15 | 16 | public static void main(String[] args) 17 | { 18 | Scanner sc=new Scanner(System.in); 19 | 20 | /*Taking a & b as user input*/ 21 | int a=sc.nextInt(); 22 | int b=sc.nextInt(); 23 | 24 | System.out.println("GCD : " + gcd(a,b)); //Output 25 | 26 | } 27 | 28 | } 29 | 30 | -------------------------------------------------------------------------------- /Java/Euclid's GCD Algorithm/RelevanceInCryptography.md: -------------------------------------------------------------------------------- 1 | # Relevance in Cryptography: 2 | RSA, which based on the great difficulty of integer factorization, is the most widely-used public-key cryptosystem used in electronic commerce. Euclid algorithm and extended Euclid algorithm are the best algorithms to solve the public key and private key in RSA. Extended Euclid algorithm in IEEE P1363 is improved by eliminating the negative integer operation, which reduces the computing resources occupied by RSA, hence has an important application value. 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Java/FloydAlgorithm/README.md: -------------------------------------------------------------------------------- 1 | 2 | # Sample Input: 3 | 4 | 5 5 | 6 | 1 6 3 7 8 7 | 8 | 2 9 | 10 | 11 | 12 | # Sample Output: 13 | 14 | Loop exists 15 | 16 | 17 | 18 | # Explaination: 19 | 20 | 4--> size of linked list 21 | 22 | 1-->6-->3-->7-->8 =>nodes of linked list 23 | 24 | 2---> node to be checked 25 | 26 |
27 | 28 | after creating the loop the detect loop fuction is called and the two pointer slow and fast meets if loop exists . 29 | For better understanding,refer here: 30 | 31 | 32 | # Time complexity: 33 | 34 | O(n) 35 | -------------------------------------------------------------------------------- /Java/Merge2PDFs/Merge2PDFFiles/.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | .idea 3 | build 4 | gradle -------------------------------------------------------------------------------- /Java/Merge2PDFs/Merge2PDFFiles/MergedPdf.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Java/Merge2PDFs/Merge2PDFFiles/MergedPdf.pdf -------------------------------------------------------------------------------- /Java/Merge2PDFs/Merge2PDFFiles/build.gradle: -------------------------------------------------------------------------------- 1 | plugins { 2 | id 'java' 3 | } 4 | 5 | group 'org.example' 6 | version '1.0-SNAPSHOT' 7 | 8 | repositories { 9 | mavenCentral() 10 | } 11 | 12 | dependencies { 13 | testCompile group: 'junit', name: 'junit', version: '4.12' 14 | compile group: 'org.apache.pdfbox', name: 'pdfbox', version: '2.0.21' 15 | } 16 | -------------------------------------------------------------------------------- /Java/Merge2PDFs/Merge2PDFFiles/pdf1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Java/Merge2PDFs/Merge2PDFFiles/pdf1.pdf -------------------------------------------------------------------------------- /Java/Merge2PDFs/Merge2PDFFiles/pdf2.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Java/Merge2PDFs/Merge2PDFFiles/pdf2.pdf -------------------------------------------------------------------------------- /Java/Merge2PDFs/Merge2PDFFiles/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'Merge2PDFFiles' 2 | 3 | -------------------------------------------------------------------------------- /Java/NthDigitMaxPrime/README.md: -------------------------------------------------------------------------------- 1 | # Sample Input: 2 | 3 | 2 4 | 5 | 6 | 7 | # Sample Output: 8 | 9 | 97 10 | 11 | 12 | 13 | # Sample Input: 14 | 15 | 6 16 | 17 | 18 | 19 | # Sample Output: 20 | 21 | 999983 22 | 23 | 24 | 25 | # Explaination: 26 | TC 1: 27 | l=10^(2-1)=10 28 | r=10^2-1=99 29 | 30 | After checking in the sieve[] in decreasing order,the first time comes out to be 97 31 | 32 | 33 | # Time Complexity: 34 | 35 |

O(limit log(log limit))

,where limit is the size of the sieve[].This is the most optimal way to find out the required solution. -------------------------------------------------------------------------------- /Java/Password_Strength/Readme.md: -------------------------------------------------------------------------------- 1 | # Password Strength 2 | 3 | A program to check the strength of the password . For a strong password, the password must contain a mixture of upper case letters, a digit (including 0-9), and special characters with lower case letters. 4 | 5 | ## Sample Input 6 | Sapna123@ 7 | 8 | ## Sample Output 9 | Password Valid and Strong. 10 | 11 | ## Screenshot 12 | ![demo](https://user-images.githubusercontent.com/56690856/98788220-90b3ed00-2426-11eb-94e6-c9115c61eebf.png) 13 | 14 | ## Time Complexity 15 | O(N) 16 | 17 | ## Space Complexity 18 | O(1) 19 | -------------------------------------------------------------------------------- /Java/PrimeFactorization/README.md: -------------------------------------------------------------------------------- 1 | # Sample Input: 2 | 36 3 | 4 | # Sample Output: 5 | 2 2 3 3 6 | 7 | # Sample Input: 8 | 11 9 | 10 | # Sample Output: 11 | 11 12 | 13 | # Explaination: 14 |

TC 1: 2 * 2 * 3 * 3 =36

15 |

TC 2: 11 , since 11 itself is a prime number and a prime factor of itself.

16 | 17 |

The while loop and for loop take care of composite numbers and last condition takes care of prime numbers. To prove that the complete algorithm works, we need to prove that steps 1 and 2 actually take care of composite numbers. This is clear that step 1 takes care of even numbers. And after step 1, all remaining prime factor must be odd (difference of two prime factors must be at least 2), this explains why i is incremented by 2.

18 | 19 | 20 | # Time Complexity: 21 |

O(sqrt(n))

22 | 23 | -------------------------------------------------------------------------------- /Java/PrimeFactorization/RelevanceInCryptography.md: -------------------------------------------------------------------------------- 1 | # Relevance in Cryptography: 2 | 3 | Cryptography is all about number theory, and all integer numbers (except 0 and 1) are made up of primes, so you deal with primes a lot in number theory. 4 | 5 | More specifically, some important cryptographic algorithms such as RSA critically depend on the fact that prime factorization of large numbers takes a long time. Basically you have a "public key" consisting of a product of two large primes used to encrypt a message, and a "secret key" consisting of those two primes used to decrypt the message. You can make the public key public, and everyone can use it to encrypt messages to you, but only you know the prime factors and can decrypt the messages. Everyone else would have to factor the number, which takes too long to be practical, given the current state of the art of number theory. -------------------------------------------------------------------------------- /Java/RandomMotivationalQuotes/RandomMotivationalQuotesGenerator/.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | .idea 3 | build 4 | gradle -------------------------------------------------------------------------------- /Java/RandomMotivationalQuotes/RandomMotivationalQuotesGenerator/build.gradle: -------------------------------------------------------------------------------- 1 | plugins { 2 | id 'java' 3 | } 4 | 5 | group 'org.example' 6 | version '1.0-SNAPSHOT' 7 | 8 | repositories { 9 | mavenCentral() 10 | } 11 | 12 | dependencies { 13 | testCompile group: 'junit', name: 'junit', version: '4.12' 14 | compile group: 'org.apache.clerezza.ext', name: 'org.json.simple', version: '0.4' 15 | 16 | 17 | } 18 | -------------------------------------------------------------------------------- /Java/RandomMotivationalQuotes/RandomMotivationalQuotesGenerator/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'RandomMotivationalQuotesGenerator' 2 | 3 | -------------------------------------------------------------------------------- /Java/SizeOfDirectory/Readme.MD: -------------------------------------------------------------------------------- 1 | # scan the current directory and all subdirectories and display the size 2 | 3 | ## Introduction 4 | ``` 5 | It is a simple java code which help to find size of sub directory and files inside a given directory 6 | ``` 7 | 8 | 9 | ## How to use the code 10 | ``` 11 | 1. Download the given code 12 | 2. Run the size.java file 13 | 3. Enter the path of your Folder 14 | 3. The size of directory in bytes, KiloBytes, MegaBytes will be shown 15 | ``` 16 | ## Output 17 | 18 | ![endpoint](https://github.com/Tejas1510/hacking-tools-scripts/blob/size/Java/SizeOfDirectory/images/image1.png) 19 | 20 | ![built with love](https://forthebadge.com/images/badges/built-with-love.svg) 21 | 22 | Check out my Github profile [Tejas1510!](https://github.com/Tejas1510) 23 | -------------------------------------------------------------------------------- /Java/SizeOfDirectory/images/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Java/SizeOfDirectory/images/image1.png -------------------------------------------------------------------------------- /Java/Sudoku_Solver/Readme.md: -------------------------------------------------------------------------------- 1 | # Sudoku Solver 2 | This is a program to solve a sudoku. Instead of the blank spaces, 0 has to be inputed. 3 | 4 | ## Sample Input 5 | ![input](https://user-images.githubusercontent.com/56690856/98670547-d74b0e00-2378-11eb-9fe2-44e124d1cef5.png) 6 | 7 | ## Sample Output 8 | ![output](https://user-images.githubusercontent.com/56690856/98670752-2bee8900-2379-11eb-837f-1b613c5137ca.png) 9 | 10 | ## Demo 11 | ![demo](https://user-images.githubusercontent.com/56690856/98670816-49235780-2379-11eb-9245-2d6b6aa02ef8.png) 12 | 13 | ## Time Complexity 14 | O(9^(n*n)) 15 | 16 | ## Space Complexity 17 | O(n*n) 18 | 19 | -------------------------------------------------------------------------------- /JavaScript/Alarm_Clock/Readme.md: -------------------------------------------------------------------------------- 1 | # Alarm Clock 2 | 3 | A website for alarm clock. 4 | 5 | ## How to use the script ? 6 | 7 | Open index.html in any browser. 8 | 9 | ## Screenshot 10 | ![demo](https://user-images.githubusercontent.com/56690856/99620214-18af7d80-2a4b-11eb-8f07-dfbf52b9df48.png) 11 | -------------------------------------------------------------------------------- /JavaScript/Alarm_Clock/audio.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/Alarm_Clock/audio.mp3 -------------------------------------------------------------------------------- /JavaScript/Alarm_Clock/style.css: -------------------------------------------------------------------------------- 1 | body { 2 | background-color: #fecd1a; 3 | } 4 | 5 | .container { 6 | background-color: black; 7 | color: white; 8 | padding: 30px; 9 | text-align: center; 10 | margin: auto; 11 | width: 50%; 12 | margin-top: 10%; 13 | border-radius: 30px; 14 | } 15 | 16 | h1{ 17 | font-size:60px 18 | } 19 | 20 | h2 { 21 | font-size: 40px; 22 | } 23 | 24 | .btn{ 25 | margin: 25px; 26 | font-size: 25px; 27 | border-color: chartreuse; 28 | border-width: 5px; 29 | } 30 | 31 | #alarm{ 32 | font-size: 30px; 33 | padding: 10px; 34 | } 35 | 36 | ::placeholder{ 37 | color: black; 38 | } -------------------------------------------------------------------------------- /JavaScript/Amazon-Scrape/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules -------------------------------------------------------------------------------- /JavaScript/Amazon-Scrape/README.md: -------------------------------------------------------------------------------- 1 | # Scrape Amazon Using NodeJS 2 | 3 | This script scrapes Amazon for the product you searched and returns the top 5 results with their price and ratings 4 | 5 | ## How to Run? 6 | + Run `npm i` to install the dependencies. 7 | + Run `node index.js ""` to search for a particular product. 8 | 9 | ## Example 10 | 11 | ![image](images/Amazon-Scrape.png) -------------------------------------------------------------------------------- /JavaScript/Amazon-Scrape/images/Amazon-Scrape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/Amazon-Scrape/images/Amazon-Scrape.png -------------------------------------------------------------------------------- /JavaScript/Amazon-Scrape/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "amazon-scrape", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "Ninjavin", 10 | "license": "ISC", 11 | "dependencies": { 12 | "cli-table": "^0.3.1", 13 | "puppeteer": "^5.4.1" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /JavaScript/AqiDetector/README.md: -------------------------------------------------------------------------------- 1 | ## AQI Detector: 2 | - This script built in Javascript is a AQI Detector. 3 | - The script automatically detects the location of the current city or the nearest city. 4 | - If the browser supports the geolocation feature, it didplays AQI and the location,else error message is displayed. 5 | ![Image](capture.JPG) 6 | - Output of the script. -------------------------------------------------------------------------------- /JavaScript/AqiDetector/capture.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/AqiDetector/capture.JPG -------------------------------------------------------------------------------- /JavaScript/AqiDetector/style.css: -------------------------------------------------------------------------------- 1 | body{ 2 | display: flex; 3 | flex-direction: column; 4 | align-items: center; 5 | font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 6 | } 7 | .notification{ 8 | 9 | font-size: 20px; 10 | } 11 | .loc{ 12 | margin: 10px; 13 | padding: 15px; 14 | font-size: 30px; 15 | } 16 | .aq{ 17 | margin: 10px; 18 | padding: 15px; 19 | font-size: 30px; 20 | } 21 | h1{ 22 | border-bottom: 3px black solid; 23 | } 24 | .aqi{ 25 | font-weight: 700; 26 | } 27 | .location{ 28 | font-weight: 500; 29 | } -------------------------------------------------------------------------------- /JavaScript/BatteryStatus/README.md: -------------------------------------------------------------------------------- 1 | ## Battery Status app : 2 | - This script is made using HTML,CSS and JS. 3 | - It shows the battery level,charging status,battery charging time, battery discharging time on the screen. 4 | - It also updates the if any changes appear on the parameters. 5 | -------------------------------------------------------------------------------- /JavaScript/BatteryStatus/style.css: -------------------------------------------------------------------------------- 1 | div{ 2 | padding: 10px; 3 | margin: 10px; 4 | font-family: Georgia, 'Times New Roman', Times, serif; 5 | font-size: 20px; 6 | font-weight: 700; 7 | } 8 | body{ 9 | display: flex; 10 | flex-direction: column; 11 | align-items: center; 12 | justify-content: center; 13 | } -------------------------------------------------------------------------------- /JavaScript/Bulk-Linkedin-request/images/console.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/Bulk-Linkedin-request/images/console.png -------------------------------------------------------------------------------- /JavaScript/Bulk-Linkedin-request/images/developerTool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/Bulk-Linkedin-request/images/developerTool.png -------------------------------------------------------------------------------- /JavaScript/Bulk-Linkedinrequest-accept/Images/Code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/Bulk-Linkedinrequest-accept/Images/Code.png -------------------------------------------------------------------------------- /JavaScript/Bulk-Linkedinrequest-accept/Images/JavascriptConsole.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/Bulk-Linkedinrequest-accept/Images/JavascriptConsole.png -------------------------------------------------------------------------------- /JavaScript/Bulk-Linkedinrequest-accept/Readme.txt: -------------------------------------------------------------------------------- 1 | #Read me file to accept bulk linkedin request 2 | 3 | steps to accept request: 4 | 5 | -open your linkedin account 6 | -In networks section of your account you might have much requests to accept 7 | -To open the Javascript Console in Windows and Linux directly by using the keyboard shortcut CTRL + SHIFT + J 8 | and for macOs you can use COMMAND + OPTION + J 9 | -Type the code in your console and press enter 10 | -The requests will be accpeted 11 | 12 | -------------------------------------------------------------------------------- /JavaScript/Bulk-Linkedinrequest-accept/accept_code.txt: -------------------------------------------------------------------------------- 1 | #Javascript Code to run in console to accept the bulk accept requests 2 | 3 | var x = document.getElementsByClassName("invitation-card__action-btn artdeco-button artdeco-button--2 artdeco-button--secondary ember-view");//x is request 4 | for(var i=0;i < x.length;i++) //for loop to process each request 5 | { 6 | x[i].click(); 7 | } -------------------------------------------------------------------------------- /JavaScript/CircularImages/images/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/CircularImages/images/image1.png -------------------------------------------------------------------------------- /JavaScript/CircularImages/images/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/CircularImages/images/image2.png -------------------------------------------------------------------------------- /JavaScript/CircularImages/images/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/CircularImages/images/image3.png -------------------------------------------------------------------------------- /JavaScript/CircularImages/style.css: -------------------------------------------------------------------------------- 1 | #myimg{ 2 | width: 500px; 3 | height:400px; 4 | } 5 | .mybtn{ 6 | margin-top: 20px; 7 | font-size: 30px; 8 | width: 150px; 9 | background-color: blue; 10 | color: white; 11 | border-radius: 5px; 12 | } 13 | #myinput{ 14 | margin-top: 20px; 15 | width: 500px; 16 | padding: 10px; 17 | } -------------------------------------------------------------------------------- /JavaScript/CountingDays/Readme.MD: -------------------------------------------------------------------------------- 1 | # Counting Days Javascript Program 2 | 3 | 4 | ### How to use it 5 | ``` 6 | 1. Download the given code 7 | 2. Run the index.html file 8 | 3. you will ask to enter year,month,day of your required date 9 | 4. Hit submit 10 | 5. you will be displayed the result 11 | 12 | ``` 13 | ## Output 14 | 15 | ![endpoint](https://github.com/Tejas1510/hacking-tools-scripts/blob/counting/Javascript/CountingDays/images/image1.png) 16 | 17 | -------------------------------------------------------------------------------- /JavaScript/CountingDays/images/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/CountingDays/images/image1.png -------------------------------------------------------------------------------- /JavaScript/CountingDays/style.css: -------------------------------------------------------------------------------- 1 | .heading{ 2 | text-align: center; 3 | color: blueviolet; 4 | 5 | 6 | } 7 | 8 | form{ 9 | width: 500px; 10 | margin-left: 550px; 11 | margin-top: 20px; 12 | } 13 | .btn{ 14 | margin-top: 20px; 15 | align-items: center; 16 | margin-left: 750px; 17 | width: 100px; 18 | } 19 | #finalAns{ 20 | padding-top: 30px; 21 | text-align: center; 22 | color: blueviolet; 23 | } -------------------------------------------------------------------------------- /JavaScript/Counting_Days/script.js: -------------------------------------------------------------------------------- 1 | // get the present time 2 | var presentDate = new Date(); 3 | // mention the target time 4 | var targetDate = new Date("Jan 21, 2021 00:00:00"); 5 | const oneDay = 24 * 60 * 60 * 1000; // hours*minutes*seconds*milliseconds 6 | // days left 7 | var days = Math.floor(Math.abs(targetDate - presentDate) / oneDay); 8 | console.log("Days Left:" + days); 9 | -------------------------------------------------------------------------------- /JavaScript/CurrencyConverter/README.md: -------------------------------------------------------------------------------- 1 | ## Currency Converter 2 | - This script built in Javascript is a Currency Converter. 3 | - The user enters : 4 | - The amount to convert. 5 | - The current currency. 6 | - The converting currency. 7 | ![Image](capture.JPG) 8 | - Output of the script. -------------------------------------------------------------------------------- /JavaScript/CurrencyConverter/capture.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/CurrencyConverter/capture.JPG -------------------------------------------------------------------------------- /JavaScript/CurrencyConverter/style.css: -------------------------------------------------------------------------------- 1 | .details{ 2 | display: flex; 3 | flex-direction: column; 4 | font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif; 5 | align-items: center; 6 | } 7 | .from{ 8 | padding: 10px; 9 | margin: 10px; 10 | width:14%; 11 | } 12 | .to{ 13 | padding: 10px; 14 | margin: 10px; 15 | width: 14%; 16 | } 17 | .convert{ 18 | padding: 10px; 19 | margin: 20px; 20 | width: 14%; 21 | font-size: larger; 22 | } 23 | .search-box{ 24 | padding: 10px; 25 | margin: 10px; 26 | width: 14%; 27 | } 28 | .ans{ 29 | padding: 10px; 30 | margin: 20px; 31 | font-size: 30px; 32 | 33 | } 34 | .ans-1{ 35 | padding: 10px; 36 | margin: 20px; 37 | font-size: 26px; 38 | 39 | } 40 | .Date{ 41 | margin: 10px; 42 | font-size: larger; 43 | } -------------------------------------------------------------------------------- /JavaScript/Currency_Converter_CLI/Readme.md: -------------------------------------------------------------------------------- 1 | # Currency Converter CLI 2 | 3 | A simple script to convert currencies.
4 | URL used : "https://api.exchangerate-api.com/v4/latest" 5 | 6 | ## How to use the script ? 7 | 8 | Installations:
9 | - readline-sync
10 | npm install readline-sync 11 | - fetch
12 | npm i node-fetch --save
13 | 14 | To run the script, run this command in the terminal:
15 | $ node "path_of_the_file"
16 | For example:
17 | $ node "c:\Users\Sapna\Desktop\hacking-tools-scripts\JavaScript\Currency_Converter_CLI\script.js"
18 | 19 | ## Screenshot 20 | ![demo1](https://user-images.githubusercontent.com/56690856/99526338-21f40800-29c1-11eb-9927-eb9070e4fdfc.png) 21 | ![demo2](https://user-images.githubusercontent.com/56690856/99526342-24566200-29c1-11eb-88e3-f47b24e07cab.png) -------------------------------------------------------------------------------- /JavaScript/Currency_Converter_CLI/requirements.txt: -------------------------------------------------------------------------------- 1 | fetch 2 | readlineSync -------------------------------------------------------------------------------- /JavaScript/DNS-Lookup-NodeJS/README.md: -------------------------------------------------------------------------------- 1 | # DNS Lookup for a Website or IP Address 2 | 3 | This script takes in any website name or IP Address and runs a DNS Lookup 4 | 5 | ## How to Run? 6 | 7 | Run `node dns-lookup.js` to execute the script 8 | 9 | ## Screenshot 10 | 11 | ![image](images/dns-lookup.png) 12 | -------------------------------------------------------------------------------- /JavaScript/DNS-Lookup-NodeJS/dns-lookup.js: -------------------------------------------------------------------------------- 1 | // Inbuilt NodeJS DNS Module 2 | const dns = require('dns') 3 | // To get user input 4 | const readline = require('readline') 5 | const rl = readline.createInterface({ 6 | input: process.stdin, 7 | output: process.stdout 8 | }) 9 | rl.question("Enter the URL or IP Address : ", (url) => { 10 | const options = { 11 | all: true, 12 | } 13 | dns.lookup(url, options, (err, addresses) => { 14 | if(err) 15 | console.log(err) 16 | if(addresses.length > 1){ 17 | console.log(`IPv4 Address : ${addresses[0].address}`) 18 | console.log(`IPv6 Address : ${addresses[1].address}`) 19 | }else{ 20 | if(addresses[0].family === 4) 21 | console.log(`IPv4 Address : ${addresses[0].address}`) 22 | else 23 | console.log(`IPv6 Address : ${addresses[0].address}`) 24 | } 25 | }) 26 | rl.close() 27 | }) -------------------------------------------------------------------------------- /JavaScript/DNS-Lookup-NodeJS/images/dns-lookup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/DNS-Lookup-NodeJS/images/dns-lookup.png -------------------------------------------------------------------------------- /JavaScript/Digital-Clock/README.md: -------------------------------------------------------------------------------- 1 | # Digital Clock 2 | 3 | This is a simple digital clock written using HTML, CSS and JS. 4 | 5 | ## How to Run? 6 | 7 | Double Click on index.html and you will be good to go. 8 | 9 | ## Screenshot 10 | 11 | ![image](images/Digital-Clock.png) -------------------------------------------------------------------------------- /JavaScript/Digital-Clock/images/Digital-Clock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/Digital-Clock/images/Digital-Clock.png -------------------------------------------------------------------------------- /JavaScript/Digital-Clock/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Digital Clock 8 | 9 | 10 |
11 | 12 |
13 | 14 | 15 | -------------------------------------------------------------------------------- /JavaScript/Digital-Clock/index.js: -------------------------------------------------------------------------------- 1 | function clock(){ 2 | // Getting Time 3 | let now = new Date() 4 | let hours = now.getHours() 5 | let min = now.getMinutes() 6 | let seconds = now.getSeconds() 7 | hours = (hours < 10) ? `0${hours}` : hours 8 | min = (min < 10) ? `0${min}` : min 9 | seconds = (seconds < 10) ? `0${seconds}` : seconds 10 | if(hours > 12){ 11 | document.getElementById('digitalClock').innerHTML = `${hours%12}:${min}:${seconds} PM` 12 | } 13 | else 14 | document.getElementById('digitalClock').innerHTML = `${hours}:${min}:${seconds} AM` 15 | } 16 | setInterval(clock, 1000) -------------------------------------------------------------------------------- /JavaScript/Digital-Clock/style.css: -------------------------------------------------------------------------------- 1 | *{ 2 | margin: 0; 3 | padding: 0; 4 | box-sizing: border-box; 5 | } 6 | 7 | body, html{ 8 | height: 100%; 9 | width: 100%; 10 | margin: 0; 11 | padding: 0; 12 | background: #1661ee; 13 | font-family: Lato, arial; 14 | } 15 | 16 | #digitalClock{ 17 | position: absolute; 18 | top: 50%; 19 | left: 50%; 20 | transform: translate(-50%, -50%); 21 | -ms-transform: translate(-50%, -50%); 22 | -webkit-transform: translate(-50%, -50%); 23 | height: max-content; 24 | margin: auto; 25 | font-size: 7vw; 26 | color: white; 27 | } -------------------------------------------------------------------------------- /JavaScript/Email-Bomber-NodeJS/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules -------------------------------------------------------------------------------- /JavaScript/Email-Bomber-NodeJS/README.md: -------------------------------------------------------------------------------- 1 | **This script is for Educational Purpose only** 2 | 3 | # Email Bomber in NodeJS 4 | 5 | This script can be used to send loads of emails i.e., spam any inbox. 6 | 7 | ## How to Run? 8 | 9 | + Run `npm i` to install all the dependencies 10 | + Run `node index.js` to run the script 11 | + **Allow `Less Secure App Access` in your Gmail account to let nodemailer send mails through this script** 12 | 13 | ## Screenshots 14 | 15 | [!image](images/Email-Bomber.png) -------------------------------------------------------------------------------- /JavaScript/Email-Bomber-NodeJS/images/Email-Bomber.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/Email-Bomber-NodeJS/images/Email-Bomber.png -------------------------------------------------------------------------------- /JavaScript/Email-Bomber-NodeJS/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "email-bomber-nodejs", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "inquirer": "^7.3.3", 13 | "nodemailer": "^6.4.16" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /JavaScript/Links-From-Webpage/script.js: -------------------------------------------------------------------------------- 1 | // select all the
tags 2 | var selectTag = document.querySelectorAll("a"); 3 | // an array to store the title of the link and the link 4 | var array = []; 5 | for (var i = 0; i < selectTag.length; i++) { 6 | var text = selectTag[i].textContent; 7 | var text = text.replace(/\s+/g, " ").trim(); 8 | var link = selectTag[i].href; 9 | array.push([text, link]); 10 | } 11 | // Function to create the table with title and link 12 | function make_table() { 13 | // table to store the data 14 | var table = ""; 15 | for (var i = 0; i < array.length; i++) { 16 | table += 17 | ""; 18 | } 19 | var w = window.open(""); 20 | // displays the table in a new window 21 | w.document.write(table); 22 | } 23 | make_table(); 24 | -------------------------------------------------------------------------------- /JavaScript/Merge-PDFs/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules -------------------------------------------------------------------------------- /JavaScript/Merge-PDFs/README.md: -------------------------------------------------------------------------------- 1 | # Merge PDFs 2 | 3 | This script written in NodeJS can merge two PDFs and generate a single PDF. 4 | 5 | ## How to Run? 6 | 7 | [+] Run `npm i` to install all the dependencies 8 | [+] Run `node index.js "" ""` to merge 2 pdfs and generate a single pdf 9 | 10 | ## Example 11 | 12 | ![image](images/merge-pdfs.png) -------------------------------------------------------------------------------- /JavaScript/Merge-PDFs/images/merge-pdfs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/Merge-PDFs/images/merge-pdfs.png -------------------------------------------------------------------------------- /JavaScript/Merge-PDFs/index.js: -------------------------------------------------------------------------------- 1 | const merge = require('easy-pdf-merge') 2 | const args = process.argv 3 | if(args.length === 2 || args.length === 3){ 4 | console.log("Enter the path of two PDFs you want to merge!") 5 | }else{ 6 | merge([`${args[2]}`, `${args[3]}`], 'Merged-PDF.pdf', function(err){ 7 | if(err) 8 | console.log(err) 9 | console.log("Merged Successfully!") 10 | }) 11 | } -------------------------------------------------------------------------------- /JavaScript/Merge-PDFs/package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "merge-pdfs", 3 | "version": "1.0.0", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "easy-pdf-merge": { 8 | "version": "0.2.5", 9 | "resolved": "https://registry.npmjs.org/easy-pdf-merge/-/easy-pdf-merge-0.2.5.tgz", 10 | "integrity": "sha512-0RFqC50BfYTmB1USrR2fyxY3O2VL7qQAkff6iUULASMaNacaSdtFGUKa0yl/zmJOBRQdak51RRqqn4JxisUOiQ==" 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /JavaScript/Merge-PDFs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "merge-pdfs", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "easy-pdf-merge": "^0.2.5" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /JavaScript/Random_Quote_Generator/Readme.md: -------------------------------------------------------------------------------- 1 | # Random Quote Generator 2 | This script is used to generate random quotes using the api - https://forismatic.com/. 3 | 4 | ## How to use 5 | Open index.html in any browser and click on the generate quote button. 6 | 7 | ## Screenshot 8 | ![demo](https://user-images.githubusercontent.com/56690856/99040560-56c22280-25af-11eb-85cf-4db94c459302.png) -------------------------------------------------------------------------------- /JavaScript/Random_Quote_Generator/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Random Quote Generator 7 | 8 | 9 | 10 | 11 |
12 |

13 |

14 |
15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /JavaScript/Random_Quote_Generator/index.js: -------------------------------------------------------------------------------- 1 | const quote = document.querySelector(".quote"); 2 | const author = document.querySelector(".author"); 3 | const btn = document.querySelector("button"); 4 | url ="https://api.forismatic.com/api/1.0/?method=getQuote&lang=en&format=jsonp&jsonp=?"; 5 | 6 | $('#generate').click(function() { 7 | $.getJSON(url) 8 | .done(update) 9 | .fail(handleError); 10 | }); 11 | 12 | update = (response) => { 13 | quote.innerHTML=`${response.quoteText}`; 14 | author.innerHTML=`- ${response.quoteAuthor}`; 15 | } 16 | 17 | handleError = (jqxhr, textStatus, err) => { 18 | console.log("Request Failed: " + textStatus + ", " + err); 19 | } 20 | -------------------------------------------------------------------------------- /JavaScript/Random_Quote_Generator/style.css: -------------------------------------------------------------------------------- 1 | body { 2 | background-color: #fddb3a; 3 | text-align: center; 4 | } 5 | 6 | .container { 7 | background-color: #222831; 8 | color: white; 9 | margin: 10% 20% 3% 20%; 10 | padding: 2%; 11 | font-size: 35px; 12 | border-radius: 50px 0 50px 0; 13 | } 14 | 15 | button { 16 | background-color: turquoise; 17 | border-color: black; 18 | color: black; 19 | padding: 15px 32px; 20 | text-align: center; 21 | text-decoration: none; 22 | display: inline-block; 23 | font-size: 24px; 24 | margin: 4px 2px; 25 | cursor: pointer; 26 | border-radius: 5px; 27 | font-weight: 500; 28 | } 29 | 30 | .quote { 31 | text-align: center; 32 | } 33 | 34 | .author { 35 | text-align: end; 36 | } 37 | -------------------------------------------------------------------------------- /JavaScript/Sudoku-Solver-JS/README.md: -------------------------------------------------------------------------------- 1 | # Sudoku Solver 2 | 3 | This code solves any sudoku puzzle given to it. 4 | 5 | ## How to Run? 6 | 7 | + To run, simply double-click `index.html` and the webpage would load in your default Web Browser 8 | + Enter the Sudoku in the table there 9 | + **Put 0 incase the value is not known** 10 | + Click on `Submit Sudoku` once the question you gave is correct and then click `Show Results` to get the answers 11 | + You can click on `Reset Sudoku` to reset the board 12 | 13 | ## Screenshots 14 | 15 | [!image](images/first.png) 16 | [!image2](images/second.png) 17 | [!image3](images/third.png) -------------------------------------------------------------------------------- /JavaScript/Sudoku-Solver-JS/images/first.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/Sudoku-Solver-JS/images/first.png -------------------------------------------------------------------------------- /JavaScript/Sudoku-Solver-JS/images/second.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/Sudoku-Solver-JS/images/second.png -------------------------------------------------------------------------------- /JavaScript/Sudoku-Solver-JS/images/third.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/Sudoku-Solver-JS/images/third.png -------------------------------------------------------------------------------- /JavaScript/Sudoku-Solver-JS/style.css: -------------------------------------------------------------------------------- 1 | *{ 2 | margin: 0; 3 | padding: 0; 4 | box-sizing: border-box; 5 | } 6 | 7 | input::-webkit-outer-spin-button, 8 | input::-webkit-inner-spin-button { 9 | -webkit-appearance: none; 10 | margin: 0; 11 | } 12 | 13 | /* Firefox */ 14 | input[type=number] { 15 | -moz-appearance: textfield; 16 | } 17 | 18 | #board{ 19 | margin: auto; 20 | width: max-content; 21 | margin-top: 100px; 22 | } 23 | 24 | #buttons{ 25 | margin: auto; 26 | width: max-content; 27 | margin-top: 50px; 28 | } -------------------------------------------------------------------------------- /JavaScript/Text_to_Speech_CLI/Readme.md: -------------------------------------------------------------------------------- 1 | # Text to Speech CLI 2 | 3 | A simple script to convert text to speech. 4 | 5 | ## How to use the script ? 6 | 7 | Installations:
8 | - readline-sync
9 | npm install readline-sync 10 | - gtts
11 | npm install gtts
12 | 13 | To run the script, run this command in the terminal:
14 | $ node "path_of_the_file"
15 | For example:
16 | $ node "c:\Users\Sapna\Desktop\hacking-tools-scripts\JavaScript\Text_to_Speech_CLI\script.js"
17 | 18 | Now when you run the script you will get a voice.mp3 file in your folder. 19 | 20 | ## Screenshot 21 | ![demo](https://user-images.githubusercontent.com/56690856/99379972-5e573380-28ef-11eb-84d1-bfefba84cd15.png) 22 | ) -------------------------------------------------------------------------------- /JavaScript/Text_to_Speech_CLI/requirements: -------------------------------------------------------------------------------- 1 | readline-sync 2 | gtts -------------------------------------------------------------------------------- /JavaScript/Text_to_Speech_CLI/script.js: -------------------------------------------------------------------------------- 1 | const gTTS = require('gtts'); 2 | var readlineSync = require('readline-sync'); 3 | 4 | var text = readlineSync.question('Enter text'); 5 | var gtts = new gTTS(text, 'en'); 6 | 7 | gtts.save('Voice.mp3', function (err, result){ 8 | if(err) { throw new Error(err); } 9 | console.log("Text to speech converted!"); 10 | }); -------------------------------------------------------------------------------- /JavaScript/WeatherForecast/Capture.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/WeatherForecast/Capture.JPG -------------------------------------------------------------------------------- /JavaScript/WeatherForecast/README.md: -------------------------------------------------------------------------------- 1 | ## Weather Forecast App: 2 | - This app is built using HTML,CSS and Javascript is a Weather Forecast App. 3 | - It automatically detects the location of the user if the browser supports the geolocation. 4 | - It displays the location, temperature, weather and the wind-speed and direction. 5 | 6 | ![Image](Capture.jpg) 7 | 8 | - If the browser doesn't supports geolocation, a notification appears on the screen for it. 9 | 10 | ### OpenWeatherMap API is used to get the weather data -------------------------------------------------------------------------------- /JavaScript/Web-Technologies-Detector/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules -------------------------------------------------------------------------------- /JavaScript/Web-Technologies-Detector/README.md: -------------------------------------------------------------------------------- 1 | # Detect Web Technologies behind any Website 2 | 3 | This script uses "Wappalyzer" and detects the technologies used to build a website. 4 | 5 | ## How to Run? 6 | 7 | + Run `npm i` to install all the dependencies. 8 | + Run `node index.js ""` to search for the website whose technologies you would like to detect 9 | 10 | ## Example 11 | 12 | ![image](images/web-tech.png) -------------------------------------------------------------------------------- /JavaScript/Web-Technologies-Detector/images/web-tech.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/Web-Technologies-Detector/images/web-tech.png -------------------------------------------------------------------------------- /JavaScript/Webpage-as-pdf/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules -------------------------------------------------------------------------------- /JavaScript/Webpage-as-pdf/README.md: -------------------------------------------------------------------------------- 1 | # Save a Webpage as a PDF 2 | 3 | This NodeJs Script uses Puppeteer and saves a webpage as a pdf. 4 | 5 | ## How to Run? 6 | 7 | + Run `npm install` in the project folder. 8 | + Run `node index.js ""` to save the webpage as PDF. 9 | 10 | ## Sample Input & Output 11 | 12 | ![image](images/webpage-pdf.png) -------------------------------------------------------------------------------- /JavaScript/Webpage-as-pdf/images/webpage-pdf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/Webpage-as-pdf/images/webpage-pdf.png -------------------------------------------------------------------------------- /JavaScript/Webpage-as-pdf/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "webpage-as-pdf", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "puppeteer": "^5.4.1" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /JavaScript/Youtube-Video-Downloader/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | -------------------------------------------------------------------------------- /JavaScript/Youtube-Video-Downloader/README.md: -------------------------------------------------------------------------------- 1 | # A Simple YouTube Video Downloader in NodeJS 2 | 3 | This NodeJs Script downloads the youtube video from the url mentioned. 4 | 5 | ## How to Run? 6 | 7 | + Run `npm install i` in the project folder. 8 | + Run `ytdload ""` to download any YouTube video. 9 | > You can also run `npm install -g .` in the project folder, this will allow you to run the script from any location. 10 | 11 | ## Sample Input & Output 12 | 13 | ![image](images/ytdload.png) -------------------------------------------------------------------------------- /JavaScript/Youtube-Video-Downloader/images/ytdload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/JavaScript/Youtube-Video-Downloader/images/ytdload.png -------------------------------------------------------------------------------- /JavaScript/Youtube-Video-Downloader/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "nodejs-yt-downloader", 3 | "version": "1.0.0", 4 | "description": "`npm init`", 5 | "main": "index.js", 6 | "bin": { 7 | "ytdload": "./index.js" 8 | }, 9 | "scripts": { 10 | "test": "echo \"Error: no test specified\" && exit 1" 11 | }, 12 | "author": "Ninjavin", 13 | "license": "ISC", 14 | "dependencies": { 15 | "chalk": "^4.1.0", 16 | "figlet": "^1.5.0", 17 | "ytdl-core": "^4.0.2" 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /JavaScript/news-assistant/.gitignore: -------------------------------------------------------------------------------- 1 | package-lock.json 2 | node_modules 3 | -------------------------------------------------------------------------------- /JavaScript/news-assistant/README.md: -------------------------------------------------------------------------------- 1 | # News assistant 2 | - - - - - - - - - 3 | ## Aim 4 | 5 | The aim of this script is to read out the top headlines of your favourite news category
6 | Categories you can choose from are:
7 | - business 8 | - entertainment 9 | - general 10 | - health 11 | - science 12 | - sports 13 | - technology 14 | 15 | ## Requirements 16 | ```npm install newsapi --save```
17 | ```npm install prompt-sync```
18 | ```npm install say```
19 | 20 | ## To use: 21 | - ```node .``` 22 | - Get and enter your API key by registering at https://newsapi.org/register 23 | - Enter the category from the above listed categories 24 | - Sit back and listen to the latest news headlines :) 25 | -------------------------------------------------------------------------------- /JavaScript/news-assistant/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "news-assistant", 3 | "version": "1.0.0", 4 | "description": "A news assistant to read out your favourite news", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "Tania Malhotra", 10 | "license": "ISC", 11 | "dependencies": { 12 | "json-query": "^2.2.2", 13 | "prompt-sync": "^4.2.0", 14 | "say": "^0.16.0" 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Python/Admin-Panel/README.md: -------------------------------------------------------------------------------- 1 | # Description 2 | 3 | A Python Script to find admin panel of a website 4 | 5 | ## How to execute this Script 6 | 7 | + Run `pip install -r requirements.txt` to install the required packages. 8 | + Run the script using `python3 AdminPanel.py` 9 | 10 | ## Example 11 | 12 | ![AdminPanel](images/adminPanel.png) -------------------------------------------------------------------------------- /Python/Admin-Panel/images/adminPanel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Admin-Panel/images/adminPanel.png -------------------------------------------------------------------------------- /Python/Admin-Panel/requirements.txt: -------------------------------------------------------------------------------- 1 | colorama==0.4.3 -------------------------------------------------------------------------------- /Python/Amazon-Price-Tracker/assets/change.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Amazon-Price-Tracker/assets/change.png -------------------------------------------------------------------------------- /Python/Amazon-Price-Tracker/assets/confirm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Amazon-Price-Tracker/assets/confirm.png -------------------------------------------------------------------------------- /Python/Amazon-Price-Tracker/assets/email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Amazon-Price-Tracker/assets/email.png -------------------------------------------------------------------------------- /Python/Amazon-Price-Tracker/assets/lesssecure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Amazon-Price-Tracker/assets/lesssecure.png -------------------------------------------------------------------------------- /Python/Amazon-Price-Tracker/assets/mail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Amazon-Price-Tracker/assets/mail.png -------------------------------------------------------------------------------- /Python/Amazon-Price-Tracker/assets/myagent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Amazon-Price-Tracker/assets/myagent.png -------------------------------------------------------------------------------- /Python/Amazon-Price-Tracker/assets/range.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Amazon-Price-Tracker/assets/range.png -------------------------------------------------------------------------------- /Python/Amazon-Price-Tracker/assets/single.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Amazon-Price-Tracker/assets/single.png -------------------------------------------------------------------------------- /Python/Amazon-Price-Tracker/price_logger.txt: -------------------------------------------------------------------------------- 1 | The cost of the product is 649.0 at 2020-08-11 19:23:36.359383 2 | -------------------------------------------------------------------------------- /Python/Automate-Telegram/README.md: -------------------------------------------------------------------------------- 1 | ## Automate Telegram ## 2 | - This script can be used to automate the process of sending messages in Telegram 3 | - Here the process of automation is achieved by using the framework Selenium. 4 | - Selenium is a portable framework for testing and automating web applications web applications 5 | 6 | ## Requirements 7 | - pip install selenium 8 | - pip install web_driver 9 | 10 | ## Working ## 11 | 12 | ![Image](assets/login.png) 13 | 14 | - The user is prompted to login and verify the phone number 15 | 16 | - The user will receive a code which has to be entered 17 | 18 | ![Image](assets/code.png) 19 | 20 | - After the verification process, the user can send messages to the contacts 21 | 22 | ![Image](assets/send.png) 23 | 24 | - The user can send multiple messages to the same user 25 | 26 | - The user can also send messages to multiple users 27 | 28 | -------------------------------------------------------------------------------- /Python/Automate-Telegram/assets/code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Automate-Telegram/assets/code.png -------------------------------------------------------------------------------- /Python/Automate-Telegram/assets/login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Automate-Telegram/assets/login.png -------------------------------------------------------------------------------- /Python/Automate-Telegram/assets/send.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Automate-Telegram/assets/send.png -------------------------------------------------------------------------------- /Python/BMICalculator/README.md: -------------------------------------------------------------------------------- 1 | # BMI Calculator in Python 2 | 3 | ## What it does? 4 | 5 | * Enter your height in feet and inches. 6 | * Enter your weight in kgs. 7 | * The script will return your BMI. 8 | 9 | ## How to Run? 10 | 11 | * Download this folder in your system. 12 | * `cd` into the folder. 13 | * Run `pip install -r requirements.txt` to get all dependencies. 14 | * Run `python3 bmi-calculator.py` 15 | 16 | ## Output 17 | 18 | ![image](images/bmi-calculator.png) -------------------------------------------------------------------------------- /Python/BMICalculator/images/bmi-calculator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/BMICalculator/images/bmi-calculator.png -------------------------------------------------------------------------------- /Python/BMICalculator/requirements.txt: -------------------------------------------------------------------------------- 1 | colorama==0.4.3 -------------------------------------------------------------------------------- /Python/Battery-Info/README.md: -------------------------------------------------------------------------------- 1 | # Battery Information of a Device. 2 | The following script provides necessary battery information. 3 | 4 | ## Running Script 5 | * Install dependencies `pip install -r requirements.txt` 6 | * Execute script `python info.py` 7 | 8 | ## Output 9 | 10 | ![output](output.png) 11 | -------------------------------------------------------------------------------- /Python/Battery-Info/output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Battery-Info/output.png -------------------------------------------------------------------------------- /Python/Battery-Info/requirements.txt: -------------------------------------------------------------------------------- 1 | psutil -------------------------------------------------------------------------------- /Python/CSV-IP-geolocation/IP_data.csv: -------------------------------------------------------------------------------- 1 | Service,IP 2 | Google,216.58.203.14 3 | Yahoo,98.137.11.164 4 | Facebook,31.13.79.35 5 | LinkedIn,108.174.10.10 -------------------------------------------------------------------------------- /Python/CSV-IP-geolocation/README.md: -------------------------------------------------------------------------------- 1 | # Generate geolocation of IP addresses given in a CSV file. 2 | * Extracts the IP addresses from a csv file named `IP_data.csv` where the column name is `IP`. 3 | * Performs a GET request to an [API](https://ip-api.com/). 4 | * Prints the results as `IP => city, state, country` for each IP address extracted. 5 | 6 | ## Executing script 7 | * `python app.py` 8 | 9 | ## Output 10 | ![output](csv-ip-op.png) 11 | -------------------------------------------------------------------------------- /Python/CSV-IP-geolocation/csv-ip-op.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/CSV-IP-geolocation/csv-ip-op.png -------------------------------------------------------------------------------- /Python/Caesar Ciper/Readme.md: -------------------------------------------------------------------------------- 1 | # Caesar Cipher- Cryptography with Python 2 | 3 | ## Overview: 4 | 5 | Caesar Cipher is one of most easiest and simplest encryption methods. It is a stype of substitution cipher. 6 | It works by shifting each character of the input string by a given value down the alphabetical order. 7 | 8 | Example: Upon giving a shift key of 2, A would be replaced by C, B by D and so on. 9 | 10 |

11 | caesar_cipher 12 |

13 | 14 | ## Output: 15 | 16 |

17 | output 18 |

19 | -------------------------------------------------------------------------------- /Python/Caesar Ciper/caesar_cipher.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Caesar Ciper/caesar_cipher.jpg -------------------------------------------------------------------------------- /Python/Caesar Ciper/output.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Caesar Ciper/output.jpg -------------------------------------------------------------------------------- /Python/Certificate_Generator/Generated_Certificate/Altha Monier.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Certificate_Generator/Generated_Certificate/Altha Monier.png -------------------------------------------------------------------------------- /Python/Certificate_Generator/images/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Certificate_Generator/images/image1.png -------------------------------------------------------------------------------- /Python/Certificate_Generator/images/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Certificate_Generator/images/image2.png -------------------------------------------------------------------------------- /Python/Certificate_Generator/images/input1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Certificate_Generator/images/input1.png -------------------------------------------------------------------------------- /Python/Certificate_Generator/namelist.txt: -------------------------------------------------------------------------------- 1 | John Smith 2 | John Reese 3 | Steve Rogers 4 | Remy Danton 5 | Kristyn Woolridge 6 | Yu Schaber 7 | Eve Fears 8 | Stuart Moree 9 | Shaunta Eudy 10 | Renay Villalobos 11 | Constance Lavin 12 | Cyrus Miler 13 | Ophelia Palazzo 14 | Altha Monier 15 | Sonya Heisey 16 | Gabriel Blinn 17 | Latisha Nelms 18 | Terresa Wootton 19 | Hye Fenske 20 | Wilburn Roberts 21 | -------------------------------------------------------------------------------- /Python/Certificate_Generator/template.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Certificate_Generator/template.png -------------------------------------------------------------------------------- /Python/Circular_Image/Readme.md: -------------------------------------------------------------------------------- 1 | # Circular Image 2 | 3 | This script provides a circular image when a regular image is given. 4 | 5 | ## Requirement for this script: 6 | 7 | 1. numpy 8 | 2. PIL 9 | 10 | install it by running the following commands in the command prompt: 11 | 12 | 1. pip install numpy 13 | 2. pip install pillow 14 | 15 | ## How to use this script? 16 | 17 | Just type the following in your command prompt: 18 | 19 | python script.py 20 | 21 | ## Sample of the script in action: 22 | 23 | This is the original picture.

24 | Original Image
25 | 26 | ![demo](https://user-images.githubusercontent.com/56690856/98395315-13812480-2082-11eb-9c28-6ee31e0fa037.png)
27 | 28 | Circular Image will be created in the directory with the file name : circularImg.png

29 | Original Image 30 | 31 | -------------------------------------------------------------------------------- /Python/Circular_Image/circularImg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Circular_Image/circularImg.png -------------------------------------------------------------------------------- /Python/Circular_Image/requirements.txt: -------------------------------------------------------------------------------- 1 | numpy 2 | PIL -------------------------------------------------------------------------------- /Python/Circular_Image/script.py: -------------------------------------------------------------------------------- 1 | import numpy as np 2 | from PIL import Image, ImageDraw 3 | 4 | # Enter the diameter 5 | diameter = input("Enter the diameter:") 6 | 7 | # Open the input image as numpy array after resizing it, and then convert to RGB 8 | img=Image.open("sunflower.jpg").convert("RGB") 9 | modifiedSize = int(diameter); 10 | img = img.resize((modifiedSize,modifiedSize)); 11 | npImage=np.array(img) 12 | width, height = img.size 13 | 14 | # Create same size alpha layer with circle 15 | alpha = Image.new('L', img.size,0) 16 | draw = ImageDraw.Draw(alpha) 17 | draw.pieslice([0,0,height,width],0,360,fill=255) 18 | 19 | # Convert alpha Image to numpy array 20 | npAlpha=np.array(alpha) 21 | 22 | # Add alpha layer to RGB 23 | npImage=np.dstack((npImage,npAlpha)) 24 | 25 | # Save with alpha and then save it has circularImg.png 26 | Image.fromarray(npImage).save('circularImg.png') 27 | -------------------------------------------------------------------------------- /Python/Circular_Image/sunflower.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Circular_Image/sunflower.jpg -------------------------------------------------------------------------------- /Python/Colortoblack/color.py: -------------------------------------------------------------------------------- 1 | import cv2 2 | path=input("Please Enter the path of the image : ") 3 | originalImage = cv2.imread(path) 4 | grayImage = cv2.cvtColor(originalImage, cv2.COLOR_BGR2GRAY) 5 | 6 | (thresh, blackAndWhiteImage) = cv2.threshold(grayImage, 127, 255, cv2.THRESH_BINARY) 7 | 8 | cv2.imshow('Black white image', blackAndWhiteImage) 9 | cv2.imshow('Original image',originalImage) 10 | cv2.imshow('Gray image', grayImage) 11 | 12 | cv2.waitKey(0) 13 | cv2.destroyAllWindows() 14 | -------------------------------------------------------------------------------- /Python/Colortoblack/images/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Colortoblack/images/image1.png -------------------------------------------------------------------------------- /Python/Colortoblack/images/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Colortoblack/images/image2.png -------------------------------------------------------------------------------- /Python/Count_number _of _files/Count number of files.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | #path where we have to count files and directories 4 | path = input("Enter path: ") 5 | 6 | noOfFiles = 0 7 | noOfDir = 0 8 | 9 | for base, dirs, files in os.walk(path): 10 | print('Looking in : ',base) 11 | for directories in dirs: 12 | noOfDir += 1 13 | for Files in files: 14 | noOfFiles += 1 15 | #print number of files,directories,total 16 | print('Number of files',noOfFiles) 17 | print('Number of Directories',noOfDir) 18 | print('Total:',(noOfDir + noOfFiles)) 19 | -------------------------------------------------------------------------------- /Python/Count_number _of _files/Output.JPG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Count_number _of _files/Output.JPG -------------------------------------------------------------------------------- /Python/Count_number _of _files/README.md: -------------------------------------------------------------------------------- 1 | # To count number of files and sub directories in a directory 2 | 3 | ## How to Run? 4 | 5 | * Create folder in your desktop 6 | * Enter the path of your Folder 7 | * Run 'Count_number_of_files.py' 8 | 9 | ## Output 10 | 11 | ![Output](Output.JPG) 12 | -------------------------------------------------------------------------------- /Python/Counting-Days/README.md: -------------------------------------------------------------------------------- 1 | # Counting Days 2 | Allows the user to count the number of days left until a specified target date. 3 | 4 | ## Executing script 5 | * Run `python app.py ` 6 | * for e.g `python app.py 27/11/2020`. 7 | 8 | ## Output 9 | ![output](output.png) -------------------------------------------------------------------------------- /Python/Counting-Days/app.py: -------------------------------------------------------------------------------- 1 | from datetime import date 2 | import sys 3 | 4 | if len(sys.argv) < 2: 5 | print("Please provide date as commandline argument.") 6 | sys.exit() 7 | 8 | target_date = map(int, sys.argv[1].split("/")[::-1]) 9 | current_date = date.today() 10 | target_date = date(*target_date) 11 | delta = target_date - current_date 12 | 13 | print(f'{delta.days} days left until {target_date}') 14 | -------------------------------------------------------------------------------- /Python/Counting-Days/output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Counting-Days/output.png -------------------------------------------------------------------------------- /Python/Crack_Zip_File/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Crack_Zip_File/.DS_Store -------------------------------------------------------------------------------- /Python/Crack_Zip_File/secret.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Crack_Zip_File/secret.zip -------------------------------------------------------------------------------- /Python/Currency-Converter/README.md: -------------------------------------------------------------------------------- 1 | # Currency Converter 2 | 3 | This script is used to convert currency. 4 | 5 | ## How to Run? 6 | 7 | Run `python3 converter.py` to execute the script. 8 | 9 | ## Screenshots 10 | 11 | ![image](images/currency.png) -------------------------------------------------------------------------------- /Python/Currency-Converter/images/currency.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Currency-Converter/images/currency.png -------------------------------------------------------------------------------- /Python/DNS-Lookup/README.md: -------------------------------------------------------------------------------- 1 | # DNS Lookup 2 | The Domain Name System is a hierarchical and decentralized naming system for computers, services, or other resources connected to the Internet or a private network. It associates various information with domain names assigned to each of the participating entities. 3 | 4 | ## Executing the Script 5 | * Run: `python lookup.py ` 6 | * for e.g `python lookup.py google.com` 7 | * or `python lookup.py 142.250.67.174` 8 | 9 | ## Output 10 | 11 | ![output](output.png) 12 | -------------------------------------------------------------------------------- /Python/DNS-Lookup/lookup.py: -------------------------------------------------------------------------------- 1 | import sys 2 | import socket 3 | import ipaddress 4 | 5 | if len(sys.argv) < 2: 6 | sys.exit("Please provide an IP address or a domain name.") 7 | 8 | query = sys.argv[1] 9 | 10 | try: 11 | ipaddress.ip_address(query) 12 | except: 13 | ipv4, ipv6 = map(lambda x: x[4][0], socket.getaddrinfo(query,22,type=socket.SOCK_STREAM)) 14 | print("Domain Name:", query) 15 | print("IPV4:", ipv4) 16 | print("IPV6:", ipv6) 17 | print("Server Domain:", socket.gethostbyaddr(ipv4)[0]) 18 | else: 19 | ip_info = socket.gethostbyaddr(query) 20 | print("Domain Name:", ip_info[0]) 21 | print("IP:", query) 22 | -------------------------------------------------------------------------------- /Python/DNS-Lookup/output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/DNS-Lookup/output.png -------------------------------------------------------------------------------- /Python/Digital_clock/Digital-clock.py: -------------------------------------------------------------------------------- 1 | #import Requried libraries 2 | from time import ctime 3 | from tkinter import * 4 | from threading import * 5 | 6 | #time 7 | def cTime(): 8 | while(True): 9 | c=ctime() 10 | c=c.split() 11 | # configure the time 12 | lbl.config(text = c[3]) 13 | 14 | #Creating GUI 15 | main = Tk() 16 | 17 | #Title 18 | main.title('Clock') 19 | 20 | #lable to show Time 21 | lbl = Label(main, font = ('calibri', 40, 'bold'),background = 'Black', foreground = 'white') 22 | lbl.pack(anchor = 'center') 23 | 24 | #Create new thread 25 | thread=Thread(target=cTime) 26 | thread.start() 27 | 28 | main.mainloop() -------------------------------------------------------------------------------- /Python/Digital_clock/README.md: -------------------------------------------------------------------------------- 1 | ## GUI FOR DIGITAL WATCH 2 | - This script is built in Python, for digital clock. 3 | - The time and tkinter Libraries are used to built this scripts. 4 | 5 | ## Requirements 6 | - tkinter module 7 | - time module 8 | 9 | ## Working 10 | ![DigitalClock](demo.gif) 11 | - The script runs and digital clock is appear by the GUI. -------------------------------------------------------------------------------- /Python/Digital_clock/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Digital_clock/demo.gif -------------------------------------------------------------------------------- /Python/Emails_extractor_from_web_pages/requirements.txt: -------------------------------------------------------------------------------- 1 | urllib3 2 | xlwt 3 | bs4 4 | datetime 5 | re 6 | -------------------------------------------------------------------------------- /Python/Euclidian-GCD/euc_gcd.py: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | if len(sys.argv) < 3: 4 | print("Missing required number of commandline arguments.") 5 | sys.exit() 6 | 7 | 8 | def euclidean_gcd(a, b): 9 | 10 | if a == 0: 11 | return b, 0, 1 12 | 13 | gcd, x1, y1 = euclidean_gcd(b%a, a) 14 | 15 | x = y1 - (b//a) * x1 16 | y = x1 17 | 18 | return gcd, x, y 19 | 20 | a = int(sys.argv[1]) 21 | b = int(sys.argv[2]) 22 | 23 | gcd, x, y = euclidean_gcd(a, b) 24 | 25 | print(f"GCD of {a} and {b} is: {gcd}") 26 | print(f"{a}*{x} + {b}*{y} = {gcd} [i.e gcd({a}, {b})]") 27 | -------------------------------------------------------------------------------- /Python/Euclidian-GCD/output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Euclidian-GCD/output.png -------------------------------------------------------------------------------- /Python/Extract_Contents_of_Zip/Readme.md: -------------------------------------------------------------------------------- 1 | # Extract contents of a specified path of ZIP file 2 | 3 | A script to extract all the contents of a specified path of ZIP file. 4 | 5 | ## How to use this script? 6 | Just type the following in your command prompt: 7 | 8 | python script.py 9 | 10 | ## Screenshot 11 | After running the script we will find the extracted file in the current directory. 12 | 13 | ![demo](https://user-images.githubusercontent.com/56690856/99141235-5b4e1000-266f-11eb-8798-a0315a0f834c.png) -------------------------------------------------------------------------------- /Python/Extract_Contents_of_Zip/script.py: -------------------------------------------------------------------------------- 1 | from zipfile import ZipFile 2 | 3 | def main(): 4 | # Enter the path of the zip file 5 | zipFile = input("Enter zip file:") 6 | print("Extracted file in ZIP to current directory") 7 | # create a ZipFile object in READ mode and name it as zipObj 8 | with ZipFile(zipFile, 'r') as zipObj: 9 | # extractall the files from a zip file 10 | zipObj.extractall(); 11 | 12 | if __name__ == '__main__': 13 | main() 14 | -------------------------------------------------------------------------------- /Python/Extract_Image_Metadata/helen.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Extract_Image_Metadata/helen.jpeg -------------------------------------------------------------------------------- /Python/Extract_Image_Metadata/image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Extract_Image_Metadata/image.jpg -------------------------------------------------------------------------------- /Python/Face-Detection/README.md: -------------------------------------------------------------------------------- 1 | # Description 2 | 3 | A Python Script to detect faces in a live video from webcam or from images. 4 | 5 | ## How to execute this Script 6 | 7 | + Run `pip install -r requirements.txt` to install the required packages. 8 | + Run the script using `python3 FaceDetection.py` 9 | + To quit the script, press `q` key on your keyboard 10 | 11 | ## Input 12 | 13 | ![image](images/Screenshot_20201025_121636.png) 14 | 15 | ## Output 16 | 17 | ![image](images/Screenshot_20201025_121552.png) 18 | 19 | -------------------------------------------------------------------------------- /Python/Face-Detection/images/Screenshot_20201025_121552.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Face-Detection/images/Screenshot_20201025_121552.png -------------------------------------------------------------------------------- /Python/Face-Detection/images/Screenshot_20201025_121636.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Face-Detection/images/Screenshot_20201025_121636.png -------------------------------------------------------------------------------- /Python/Face-Detection/requirements.txt: -------------------------------------------------------------------------------- 1 | opencv-python==4.4.0.44 -------------------------------------------------------------------------------- /Python/File-Checksum/output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/File-Checksum/output.png -------------------------------------------------------------------------------- /Python/Folder_Size/Readme.md: -------------------------------------------------------------------------------- 1 | # Size of current directory 2 | 3 | This script displays the size of the current directory in bytes, kilobytes, gigabytes, and megabytes. 4 | 5 | ## How to use this script? 6 | 7 | Just type the following in your command prompt: 8 | 9 | python script.py 10 | 11 | ## Sample of the script in action: 12 | 13 | ![demo](https://user-images.githubusercontent.com/56690856/98205431-28649780-1f5e-11eb-85d2-542681a98426.png) -------------------------------------------------------------------------------- /Python/Free_Disk_Space/Readme.md: -------------------------------------------------------------------------------- 1 | # Free Disk Space 2 | Script to find free disk space present in the given path. 3 | 4 | ## How to use this script? 5 | 6 | Just type the following in your command prompt: 7 | 8 | python script.py 9 | 10 | ## Screenshot 11 | ![demo](https://user-images.githubusercontent.com/56690856/99070578-8173a180-25d6-11eb-8eec-526624f80866.png) -------------------------------------------------------------------------------- /Python/Free_Disk_Space/script.py: -------------------------------------------------------------------------------- 1 | import shutil 2 | 3 | # Path 4 | path = input("Enter the path:") 5 | 6 | # Get the disk usage statistics 7 | # about the given path 8 | stat = shutil.disk_usage(path) 9 | 10 | # Print free space in the disk 11 | # shutil.disk_usage(path) returns a tuple with the attributes total, used and free in bytes, therefore the free disk space can be found in the index 2 12 | print("Free disk space present in the given path:"+str(stat[2])+" bytes") 13 | 14 | -------------------------------------------------------------------------------- /Python/GUI_YouTbe_Downloader/README.md: -------------------------------------------------------------------------------- 1 | ## GUI YouTube Video Downloader 2 | - This script built in Python is an YouTube Video Downloader. 3 | - The pytube, threading and tkinter libraries are used to built the app. 4 | ## Working 5 | ![Image](images/Before_run.jpg) 6 | - The user interface(image is displayed above) is displayed as soon as the script execute. 7 | ![image](images/Runtime_images.jpg) 8 | - The user enters : 9 | - The URL of the video which he would like to download. 10 | - press the search button. 11 | - He/She selects video resolution. 12 | - press the download button. 13 | - He/She select the storage PATH. 14 | - The script runs and the progess is reflected in the progress bar. 15 | - a Pop-up massage is displayed which shows video is downloaded succsessfully 16 | -------------------------------------------------------------------------------- /Python/GUI_YouTbe_Downloader/images/Before_run.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/GUI_YouTbe_Downloader/images/Before_run.jpg -------------------------------------------------------------------------------- /Python/GUI_YouTbe_Downloader/images/Runtime_images.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/GUI_YouTbe_Downloader/images/Runtime_images.jpg -------------------------------------------------------------------------------- /Python/GUI_YouTbe_Downloader/you_tube.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/GUI_YouTbe_Downloader/you_tube.ico -------------------------------------------------------------------------------- /Python/GUI_YouTbe_Downloader/youtube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/GUI_YouTbe_Downloader/youtube.png -------------------------------------------------------------------------------- /Python/Get-Wifi-Passwords-List/README.md: -------------------------------------------------------------------------------- 1 | # Write all saved passwords in a file 2 | 3 | Run `python3 wifi-password.py` and a text file with all saved passwords will be stored in the project folder. -------------------------------------------------------------------------------- /Python/Github-repo-and-contributors/README.md: -------------------------------------------------------------------------------- 1 | # Contributors and Size of a Github Repository 2 | - This script can be used to obtain the size of a repository in Kilobytes and the number of contributors 3 | - The API endpoint used is https://api.github.com/repos/ 4 | 5 | ### Requirements 6 | - pip install requests 7 | 8 | ### Working 9 | - The user is prompted to enter : 10 | - The username of the owner of the repository 11 | - The name of the repository 12 | - Considering an example of the repository : https://github.com/sanscript-tech/hacking-tools-scripts , the username is sanscript-tech, the name of the repository is hacking-tools-scripts 13 | 14 | ![Image](github.PNG) 15 | -------------------------------------------------------------------------------- /Python/Github-repo-and-contributors/github.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Github-repo-and-contributors/github.PNG -------------------------------------------------------------------------------- /Python/GradientDescent/gradient.py: -------------------------------------------------------------------------------- 1 | cur_x = 3 # The algorithm starts at x=3 2 | rate = 0.01 # Learning rate 3 | precision = 0.000001 #This tells us when to stop the algorithm 4 | previous_step_size = 1 # 5 | max_iters = 10000 # maximum number of iterations 6 | iters = 0 #iteration counter 7 | df = lambda x: 2*(x+5) #Gradient of our function 8 | 9 | while previous_step_size > precision and iters < max_iters: 10 | prev_x = cur_x #Store current x value in prev_x 11 | cur_x = cur_x - rate * df(prev_x) #Grad descent 12 | previous_step_size = abs(cur_x - prev_x) #Change in x 13 | iters = iters+1 #iteration count 14 | print("Iteration",iters,"\nX value is",cur_x) #Print iterations 15 | 16 | print("The local minimum occurs at", cur_x) 17 | -------------------------------------------------------------------------------- /Python/GradientDescent/images/image1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/GradientDescent/images/image1.jpeg -------------------------------------------------------------------------------- /Python/GradientDescent/images/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/GradientDescent/images/image2.png -------------------------------------------------------------------------------- /Python/GradientDescent/images/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/GradientDescent/images/image3.png -------------------------------------------------------------------------------- /Python/HTML_to_Markdown/README.md: -------------------------------------------------------------------------------- 1 | ## HTML to Markdown converter 2 | 3 | This script converts HTML Files into Markdown. 4 | 5 | ## Requirements for this script: 6 | 7 | 1.html2markdown 8 | 9 | install this by running the following command: 10 | 11 | pip install -r requirements.txt 12 | 13 | ## How to use this script? 14 | 15 | Just type the following in your command prompt: 16 | 17 | python html_to_markdown.py 18 | 19 | ## Sample of the script in action: 20 | 21 |

22 | score 23 |

24 |

25 | score 26 |

27 | -------------------------------------------------------------------------------- /Python/HTML_to_Markdown/how_to_use.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/HTML_to_Markdown/how_to_use.PNG -------------------------------------------------------------------------------- /Python/HTML_to_Markdown/requirements.txt: -------------------------------------------------------------------------------- 1 | html2markdown==0.1.7 -------------------------------------------------------------------------------- /Python/HTML_to_Markdown/sample.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/HTML_to_Markdown/sample.PNG -------------------------------------------------------------------------------- /Python/Hashing file/readme.md: -------------------------------------------------------------------------------- 1 | Hashing a file is a python script which takes data from a text file and hash it with some algorithms 2 | 3 | ### Encryption algorithms 4 | * MD5 5 | * SHA1 6 | * SHA256 7 | * SHA512 8 | 9 | 10 | It will store all the hashed data into a new text file called as **Hased data.txt** 11 | 12 | ### Installing required libraries 13 | 14 | `` pip install -r"requirements.txt" `` 15 | 16 | 17 | ### Using script 18 | 19 | * `` python app.py `` 20 | 21 | * Script will display avaliable hasing methods 22 | 23 | * Enter hashing algorithm that you want to hash 24 | 25 | * A file with name hash data.txt with hashed content will be saved in same directory 26 | 27 | ### Output file 28 | 29 | ![output](https://user-images.githubusercontent.com/48166328/96407352-cfc39980-11fe-11eb-989e-5fc5036e828b.png) 30 | -------------------------------------------------------------------------------- /Python/Hashing file/requirements.txt: -------------------------------------------------------------------------------- 1 | hashlib 2 | sys -------------------------------------------------------------------------------- /Python/IPL score/README.md: -------------------------------------------------------------------------------- 1 | ## IPL Score Scrapper 2 | 3 | This script provides live ipl score on the command line. 4 | 5 | ## Requirements for this script: 6 | 7 | 1. BeautifulSoup4 8 | 2. requests 9 | 10 | install these two by running the following command: 11 | 12 | pip install -r requirements.txt 13 | 14 | ## How to use this script? 15 | 16 | Just type the following in your command prompt: 17 | 18 | python ipl_score.py 19 | 20 | ## Sample of the script in action: 21 | 22 |

23 | score 24 |

25 |

26 | score 27 |

28 | -------------------------------------------------------------------------------- /Python/IPL score/first.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/IPL score/first.PNG -------------------------------------------------------------------------------- /Python/IPL score/requirements.txt: -------------------------------------------------------------------------------- 1 | beautifulsoup4==4.9.1 2 | certifi==2020.6.20 3 | chardet==3.0.4 4 | idna==2.10 5 | requests==2.24.0 6 | soupsieve==2.0.1 7 | urllib3==1.25.10 8 | -------------------------------------------------------------------------------- /Python/IPL score/second.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/IPL score/second.PNG -------------------------------------------------------------------------------- /Python/Image-Steganography/images/hiding.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Image-Steganography/images/hiding.png -------------------------------------------------------------------------------- /Python/Image-Steganography/images/retrieving.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Image-Steganography/images/retrieving.png -------------------------------------------------------------------------------- /Python/Image-Steganography/images/sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Image-Steganography/images/sample.png -------------------------------------------------------------------------------- /Python/Image-Steganography/images/sample_secret.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Image-Steganography/images/sample_secret.png -------------------------------------------------------------------------------- /Python/Image-Steganography/info.txt: -------------------------------------------------------------------------------- 1 | Hello, this file's content will be hidden. -------------------------------------------------------------------------------- /Python/Image-Steganography/key: -------------------------------------------------------------------------------- 1 | hrnyzqoF3aOwaOO4n9vnunH9KUD-nh-Ee5fjQcuLU9k= -------------------------------------------------------------------------------- /Python/Image-Steganography/requirements.txt: -------------------------------------------------------------------------------- 1 | opencv-python 2 | cryptography -------------------------------------------------------------------------------- /Python/Image_Sketch/obama.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Image_Sketch/obama.jpg -------------------------------------------------------------------------------- /Python/Image_Sketch/sketch.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Image_Sketch/sketch.jpg -------------------------------------------------------------------------------- /Python/Image_to_text/README.md: -------------------------------------------------------------------------------- 1 | ## Image to text 2 | - This script can be used to convert extract the text in an image and store it in a text file 3 | - The concept of Optical Character Recognition is used 4 | - The pytesseract module has been used for the same 5 | 6 | ## Working 7 | - Dependencies and Installs: 8 | - pip install pytesseract 9 | - To run the script : 10 | - python3 image-to-text.py "path to image" 11 | 12 | - Considering an example : 13 | 14 | - This is the image 15 | ![Image](assets/image.PNG) 16 | 17 | - On running the script 18 | ![Image](assets/script.PNG) 19 | 20 | - This is the text file that has the extracted text from the image 21 | ![Image](assets/text.PNG) 22 | -------------------------------------------------------------------------------- /Python/Image_to_text/Text_in_the_image.txt: -------------------------------------------------------------------------------- 1 | ‘Open-source software (OSS) is a type of computer software in which source code is released under a license in which 2 | the copyright holder grants users the rights to use, study, change, and distribute the software to anyone and for any 3 | purpose.!"! Open-source software may be developed in a collaborative public manner. Open-source software is a 4 | prominent example of open collaboration. 5 | -------------------------------------------------------------------------------- /Python/Image_to_text/assets/image.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Image_to_text/assets/image.PNG -------------------------------------------------------------------------------- /Python/Image_to_text/assets/script.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Image_to_text/assets/script.PNG -------------------------------------------------------------------------------- /Python/Image_to_text/assets/text.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Image_to_text/assets/text.PNG -------------------------------------------------------------------------------- /Python/Image_to_text/image-to-text.py: -------------------------------------------------------------------------------- 1 | #Imports and dependencies 2 | #These packages are used for OCR(Optical character recognition) 3 | import pytesseract 4 | from PIL import Image 5 | import sys 6 | 7 | '''The script can be run by passing the path of the image as a Command Line argument as, 8 | 9 | python3 image-to-text.py "/path_of_image" 10 | 11 | ''' 12 | 13 | def convert_image_to_text(image_path): 14 | text = "" 15 | #image_path = input("Enter the path of the image: ") 16 | text = pytesseract.image_to_string(Image.open(image_path)) 17 | with open("Text_in_the_image.txt", "w") as file: 18 | file.write(text) 19 | return("Text in the image is successfully written to a text file in the same directory") 20 | 21 | if __name__ == "__main__": 22 | print(convert_image_to_text(sys.argv[1])) 23 | -------------------------------------------------------------------------------- /Python/Img-converter-jpg/images/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Img-converter-jpg/images/image1.png -------------------------------------------------------------------------------- /Python/Img-converter-jpg/images/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Img-converter-jpg/images/image2.png -------------------------------------------------------------------------------- /Python/Img-converter-jpg/images/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Img-converter-jpg/images/image3.png -------------------------------------------------------------------------------- /Python/Instagram scraper/README.md: -------------------------------------------------------------------------------- 1 | ## Introduction 2 | This is the python script to number of followers for user, number of posts posted by user and number of users that user is following. 3 | 4 | ## Setup 5 | 6 | 1. Open terminal/cmd. 7 | 8 | 2. Navigate to folder where you downloaded the faker script. 9 | 10 | 3. Enter the following command. 11 | 12 | pip3 install -r"requirements.txt" 13 | 14 | 4. After all the required libraries are installed sucessfully we can run script. 15 | 16 | 17 | ## Using script 18 | * `` python Instagram_scraper.py `` 19 | 20 | * It will show number of followers for user, number of posts posted by user and number of users that user is following 21 | 22 | 23 | ## Output 24 | 25 | ![opt](https://user-images.githubusercontent.com/48166328/97340929-67358600-18aa-11eb-8bf3-006eaa0513eb.png) 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Python/Instagram scraper/requirements.txt: -------------------------------------------------------------------------------- 1 | bs4 2 | urllib3 -------------------------------------------------------------------------------- /Python/Instagram-profile/README.md: -------------------------------------------------------------------------------- 1 | # Instagram-profile-picture-downloader 2 | 3 | - This script can be used to download the Instagram profile picture of a given username 4 | 5 | #### Requirements 6 | - pip install selenium 7 | - pip install webdriver 8 | - pip install requests 9 | 10 | #### Working 11 | - The user is prompted to the desired username 12 | - On entering the username, Selenium opens up and the url of the profile picture is obtained 13 | - The image is downloaded with the name instagram_profile.jpg 14 | 15 | ![Image](profile.PNG) 16 | -------------------------------------------------------------------------------- /Python/Instagram-profile/profile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Instagram-profile/profile.PNG -------------------------------------------------------------------------------- /Python/Instagram_Bot/README.md: -------------------------------------------------------------------------------- 1 | ## Instagram Bot 2 | The aim is to list all the instagram handles that you follow, that don't follow you back. The implementation is purely done using selenium automation strategy. 3 | 4 | ### Libraries used: 5 | * [Selenium](https://selenium-python.readthedocs.io/index.html) : A popular automation tool. 6 | * [webdriver-manager](https://pypi.org/project/webdriver-manager/) : Supporting package. 7 | 8 | ### Pre-requisites: 9 | ### **Chromedriver has to be installed before executing the program** 10 | 11 | `>> pip3 install selenium` 12 | 13 | `>> pip3 install webdriver-manager` 14 | 15 | ### Usage: 16 | `>> python instagram_bot.py` 17 | 18 | ### I/O: 19 | 20 | ``` 21 | Enter Username:$(username) 22 | 23 | Enter Password:$(password) 24 | 25 | 26 | output: 27 | Total unFollowers : $(unfollowers) 28 | 29 | ``` 30 | -------------------------------------------------------------------------------- /Python/Instagram_PostVideo_Download/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Instagram_PostVideo_Download/.DS_Store -------------------------------------------------------------------------------- /Python/Instagram_PostVideo_Download/README.md: -------------------------------------------------------------------------------- 1 | # Download Video of an Instagram post in Python 2 | The aim of the program is to download only videos from an Instagram post and save it locally. 3 | 4 | ## Libraries used: 5 | *No external library used* 6 | 7 | ## Usage: 8 | `>> python download_instagram_post_videos.py` 9 | 10 | ## I/O: 11 | ``` 12 | Enter shortcode of the post: $(shortcode) 13 | Downloading 1605635399.mp4........... 14 | 1605635399.mp4 downloaded. 15 | ``` 16 | ## Note 17 | The shortcode of a post can be taken from the post url. 18 | For example: 19 | *https://www.instagram.com/p/<-Here is the shortcode->/* 20 | This is given as input to this program. 21 | -------------------------------------------------------------------------------- /Python/Internshala_Scrapper/images/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Internshala_Scrapper/images/image1.png -------------------------------------------------------------------------------- /Python/Internshala_Scrapper/images/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Internshala_Scrapper/images/image2.png -------------------------------------------------------------------------------- /Python/Internshala_Scrapper/images/image3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Internshala_Scrapper/images/image3.png -------------------------------------------------------------------------------- /Python/Json_to_yaml/README.md: -------------------------------------------------------------------------------- 1 | ### JSON_to_YAML 2 | 3 | This script converts a JSON file into a YAML File. 4 | 5 | ### Requirements 6 | 7 | This script uses an external library call PyYAML which can be installed using either of the following two approaches: 8 | 9 | 1. pip3 install pyyaml 10 | 11 | 2. pip3 install -r requirements.txt 12 | 13 | ### How to run this script? 14 | 15 | Just type the following command: 16 | 17 | python3 json_to_yaml.py -l "Your_json_file" 18 | 19 | Example: 20 | 21 | python3 json_to_yaml.py -l example.json -------------------------------------------------------------------------------- /Python/Json_to_yaml/how_to_use.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Json_to_yaml/how_to_use.PNG -------------------------------------------------------------------------------- /Python/Json_to_yaml/requirements.txt: -------------------------------------------------------------------------------- 1 | PyYAML==5.3.1 2 | -------------------------------------------------------------------------------- /Python/Json_to_yaml/sample.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Json_to_yaml/sample.PNG -------------------------------------------------------------------------------- /Python/K Means/Images/Datapoints.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/K Means/Images/Datapoints.PNG -------------------------------------------------------------------------------- /Python/K Means/Images/plotcentroid.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/K Means/Images/plotcentroid.PNG -------------------------------------------------------------------------------- /Python/K Means/Images/plotclusters.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/K Means/Images/plotclusters.PNG -------------------------------------------------------------------------------- /Python/K Means/README.md: -------------------------------------------------------------------------------- 1 | This script contains a program to **Implement K Means Clustering without using scikit-learn** 2 | 3 | **Why K Means Clustering is important?** 4 | The K-means clustering algorithm is used to find groups which have not been explicitly labeled in the data. 5 | 6 | **Libraries Used** 7 | numpy 8 | pandas 9 | matplotlib 10 | seaborn 11 | random 12 | math 13 | -------------------------------------------------------------------------------- /Python/Keylogger/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store -------------------------------------------------------------------------------- /Python/Keylogger/img01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Keylogger/img01.jpg -------------------------------------------------------------------------------- /Python/Keylogger/img02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Keylogger/img02.jpg -------------------------------------------------------------------------------- /Python/Keylogger/img03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Keylogger/img03.jpg -------------------------------------------------------------------------------- /Python/Keylogger/img04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Keylogger/img04.png -------------------------------------------------------------------------------- /Python/Keylogger/img05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Keylogger/img05.png -------------------------------------------------------------------------------- /Python/Keylogger/img06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Keylogger/img06.png -------------------------------------------------------------------------------- /Python/Keylogger/requirements.txt: -------------------------------------------------------------------------------- 1 | keyboard==0.13.5 2 | pypiwin32==223 -------------------------------------------------------------------------------- /Python/Launching other Programs/README.md: -------------------------------------------------------------------------------- 1 | Folder contains Python Script to launch any other program in Windows Operating System. 2 | 3 | ``` 4 | In command prompt run the python script 5 | C:\>python main.py 6 | Enter path of your program: C:\Windows\System32\calc.exe 7 | Calculator is launched 8 | ``` 9 | For similar cases 10 | ``` 11 | In command prompt run the python code to launch notepad 12 | C:\> python main,py 13 | Enter path of your program: C:\Windows\System32\notepad.exe 14 | Notepad is launched 15 | ``` 16 | -------------------------------------------------------------------------------- /Python/Launching other Programs/main.py: -------------------------------------------------------------------------------- 1 | #Python script to launch anyother program 2 | import os 3 | import subprocess 4 | 5 | program=input("Enter path of your program: ") 6 | 7 | try: 8 | subprocess.Popen(program) 9 | except: 10 | print("Error opening program!") 11 | -------------------------------------------------------------------------------- /Python/Linux-Keylogger/requirements.txt: -------------------------------------------------------------------------------- 1 | pynput -------------------------------------------------------------------------------- /Python/Location-based-on-IP/README.md: -------------------------------------------------------------------------------- 1 | ## Geo-location based on IP address 2 | - This script can be used to obtain the latitude and longitude from where a particular IP address originates 3 | - The API from https://ip-api.com/ has been used for the same 4 | 5 | ## Usage 6 | - Requirements 7 | - pip install requests 8 | 9 | - Considering a example 10 | 11 | ![Image](assets/ip.PNG) 12 | 13 | - The latitude and longitude will be obtained on running the script 14 | - The user is prompted to enter the IP address 15 | 16 | ![Image](assets/location.PNG) 17 | 18 | - If a location corresponding to an IP address is non-existent a suitable callback message is displayed 19 | 20 | ![Image](assets/error.PNG) 21 | -------------------------------------------------------------------------------- /Python/Location-based-on-IP/assets/error.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Location-based-on-IP/assets/error.PNG -------------------------------------------------------------------------------- /Python/Location-based-on-IP/assets/ip.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Location-based-on-IP/assets/ip.PNG -------------------------------------------------------------------------------- /Python/Location-based-on-IP/assets/location.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Location-based-on-IP/assets/location.PNG -------------------------------------------------------------------------------- /Python/Mac-Changer/README.md: -------------------------------------------------------------------------------- 1 | # MAC address changer 2 | A media access control address (MAC address) is a unique identifier assigned to a network interface controller (NIC) for use as a network address in communications within a network segment. This use is common in most IEEE 802 networking technologies, including Ethernet, Wi-Fi, and Bluetooth. The following cross platform script can change the MAC address of a device. 3 | 4 | ## Running script 5 | * Run `python mac-change.py ` 6 | * for e.g `python mac-change.py 2e:3e:3e:5f:5a:6f` 7 | 8 | ## Output 9 | 10 | ```txt 11 | Old MAC address: XX:XX:XX:XX:XX:XX 12 | New MAC address: 2e:3e:3e:5f:5a:6f 13 | ``` 14 | 15 | Old MAC address is printed in Yellow and new MAC address is printed in green. 16 | -------------------------------------------------------------------------------- /Python/Medium-article-scrapper/README.md: -------------------------------------------------------------------------------- 1 | # Medium Article Downloader 2 | 3 | ![Image](assets/medium.PNG) 4 | 5 | Medium is a treasure trove of knowledge. It is a great place to read and write blogs 6 | 7 | Through this script, the contents of a medium article can be downloaded and stored 8 | 9 | The Beautiful Soup library in Python enables web scraping and enables parsing though html content, which web pages are made of. Here, the same has been used. 10 | 11 | 12 | ## Requirements 13 | - pip install requests:wq 14 | - pip install BeautifulSoup 15 | 16 | 17 | ## Working 18 | The user is prompted to enter the URL of the Medium article that has to be downloaded 19 | 20 | ![Image](assets/promptURL.PNG) 21 | 22 | The contents are then stored in a file named Medium$_article$_content.txt 23 | 24 | ![Image](assets/content.PNG) 25 | 26 | 27 | -------------------------------------------------------------------------------- /Python/Medium-article-scrapper/assets/content.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Medium-article-scrapper/assets/content.PNG -------------------------------------------------------------------------------- /Python/Medium-article-scrapper/assets/medium.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Medium-article-scrapper/assets/medium.PNG -------------------------------------------------------------------------------- /Python/Medium-article-scrapper/assets/promptURL.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Medium-article-scrapper/assets/promptURL.PNG -------------------------------------------------------------------------------- /Python/Message_using_textbelt/ScreenShots/message_received.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Message_using_textbelt/ScreenShots/message_received.jpg -------------------------------------------------------------------------------- /Python/Message_using_textbelt/ScreenShots/output.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Message_using_textbelt/ScreenShots/output.png -------------------------------------------------------------------------------- /Python/Message_using_textbelt/send_message.py: -------------------------------------------------------------------------------- 1 | import os 2 | import requests 3 | 4 | def send_message(phoneNumber, message): 5 | resp = requests.post('https://textbelt.com/text', { 6 | 'phone':phoneNumber, 7 | 'message':message, 8 | 'key':'textbelt', 9 | }) 10 | sent = resp.json()['success'] 11 | if sent is True: 12 | print("Message successfully sent!") 13 | 14 | else: 15 | print("Sorry...Message cannot be sent") 16 | print(resp.json()['error']) 17 | 18 | def main(): 19 | phone_number = input("Enter your 10 digit phone number: ") 20 | message = input("Enter your message:") 21 | send_message(('+91'+str(phone_number)),message) 22 | 23 | if __name__ == "__main__": 24 | main() 25 | 26 | -------------------------------------------------------------------------------- /Python/Modular Exponentiation/iterative.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Modular Exponentiation/iterative.PNG -------------------------------------------------------------------------------- /Python/Modular Exponentiation/recursive.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Modular Exponentiation/recursive.PNG -------------------------------------------------------------------------------- /Python/MoorseCodeGenerator/images/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/MoorseCodeGenerator/images/image1.png -------------------------------------------------------------------------------- /Python/MoorseCodeGenerator/images/image2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/MoorseCodeGenerator/images/image2.png -------------------------------------------------------------------------------- /Python/Multithreaded-Port-Scanner/README.md: -------------------------------------------------------------------------------- 1 | # Multithreaded Port Scanner 2 | This script scans for open ports using multiple threads in parallel in which each port is checked on a separate thread. It is faster than the usual single threaded application. 3 | 4 | ## Executing the script 5 | * Run `python scan-ports.py ` 6 | * for e.g the following are valid calls: 7 | * `python scan-ports.py 142.250.67.142` 8 | * `python scan-ports.py www.google.com` 9 | 10 | ## Output 11 | 12 | ![output1](images/output1.png) 13 | 14 | ![output2](images/output2.png) 15 | -------------------------------------------------------------------------------- /Python/Multithreaded-Port-Scanner/images/output1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Multithreaded-Port-Scanner/images/output1.png -------------------------------------------------------------------------------- /Python/Multithreaded-Port-Scanner/images/output2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Multithreaded-Port-Scanner/images/output2.png -------------------------------------------------------------------------------- /Python/Network-Usage-Notifier/README.md: -------------------------------------------------------------------------------- 1 | # Notifies when Network Usage exceeds a specifies limit. 2 | * Checks for network usage every 5 seconds. 3 | * A notification is sent when the usage exceeds a specified limit provided by the user. 4 | 5 | ## Executing script 6 | * Run this script once: `python install.py` 7 | * `python app.py ` 8 | * for e.g `python app.py 100` 9 | 10 | ## Output 11 | Executing `python app.py 4` gives: 12 | 13 | **Init Notification** 14 | ![op_init](images/op_init.png) 15 | 16 | **When usage exceeds specified limit** 17 | ![op_notif](images/op_notif.png) 18 | -------------------------------------------------------------------------------- /Python/Network-Usage-Notifier/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Network-Usage-Notifier/images/icon.png -------------------------------------------------------------------------------- /Python/Network-Usage-Notifier/images/op_init.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Network-Usage-Notifier/images/op_init.png -------------------------------------------------------------------------------- /Python/Network-Usage-Notifier/images/op_notif.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Network-Usage-Notifier/images/op_notif.png -------------------------------------------------------------------------------- /Python/Network-Usage-Notifier/install.py: -------------------------------------------------------------------------------- 1 | import pip 2 | 3 | _all_ = ["psutil",] 4 | 5 | windows = ["win10toast",] 6 | 7 | posix = ["notify2", "dbus-python",] 8 | 9 | def install(packages): 10 | for package in packages: 11 | pip.main(['install', package]) 12 | 13 | if __name__ == '__main__': 14 | 15 | import os 16 | 17 | install(_all_) 18 | if os.name == 'posix': 19 | install(posix) 20 | else: 21 | install(windows) 22 | -------------------------------------------------------------------------------- /Python/Network-Usage-Notifier/requirements.txt: -------------------------------------------------------------------------------- 1 | psutil 2 | 3 | # For linux/MacOS users install: 4 | notify2 5 | dbus-python 6 | 7 | # For windows users install: 8 | win10toast -------------------------------------------------------------------------------- /Python/PDFWatermark/README.md: -------------------------------------------------------------------------------- 1 | ## PDF Watermark script 2 | - This script built in Python is used to add PDF WATERMARK . 3 | - The user enters : 4 | - The Original PDF Name and the same PDF should be in current location. 5 | - Output PDF to be name. 6 | - Watermark Text. 7 | - Watermark coordinates. 8 | ![Image](pdf.jpeg) 9 | - After the execution of the script new pdf with watermark is automatically created. 10 | - You can use the sample pdf for testing. 11 | ## Requirements 12 | - reportlab 13 | - pyPDF2 14 | 15 | -------------------------------------------------------------------------------- /Python/PDFWatermark/pdf.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/PDFWatermark/pdf.jpeg -------------------------------------------------------------------------------- /Python/PasswordStrenght/Readme.MD: -------------------------------------------------------------------------------- 1 | # Password Strength Checer 2 | 3 | ## Inroduction 4 | ``` 5 | It is a simple Password Strength checker which gives the strength of your password. 6 | Here I have used the re(regular expression) module. 7 | ``` 8 | ## How to use it : 9 | 1. Download or clone the repository 10 | 2. Install Required Libraries 11 | 3. Run password.py 12 | 4. Enter you Password 13 | 5. The Strength of your password will be shown 14 | 15 | ### Output 16 | Here I have explained all the output in the below image 17 | 18 | ![endpoint](https://github.com/Tejas1510/hacking-tools-scripts/blob/password/Python/PasswordStrenght/images/image1.png) 19 | 20 | ![built with love](https://forthebadge.com/images/badges/built-with-love.svg) 21 | 22 | Check out my Github profile [Tejas1510!](https://github.com/Tejas1510) 23 | -------------------------------------------------------------------------------- /Python/PasswordStrenght/images/image1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/PasswordStrenght/images/image1.png -------------------------------------------------------------------------------- /Python/PasswordStrenght/password.py: -------------------------------------------------------------------------------- 1 | import re 2 | p = input("Please enter a passowrd for checking its Strenght : ") 3 | count=0 4 | if(len(p)>=6): 5 | count=count+1 6 | if(re.search("[a-z]",p)): 7 | count=count+1 8 | if(re.search("[A-Z]",p)): 9 | count=count+1 10 | if(re.search("[$#@]",p)): 11 | count=count+1 12 | if(re.search("[0-9]",p)): 13 | count=count+1 14 | if(count==1): 15 | print("The Password is Poor") 16 | elif(count==2): 17 | print("The Password is Fair") 18 | elif(count==3): 19 | print("The Password is Good") 20 | elif(count==4): 21 | print("The Password is Strong") 22 | elif(count==5): 23 | print("The Password is Very Strong") 24 | else: 25 | print("INVALID PASSWORD") 26 | -------------------------------------------------------------------------------- /Python/Password_Checker/README.md: -------------------------------------------------------------------------------- 1 | ## A python script to check whether the password is strong or not 2 | 3 | ## Conditions for Strong Password: 4 | 5 | - Length of the entered password should not be greater than 15 6 | - The entered password should have at least one uppercase letter 7 | - Password should have at least one lowercase letter 8 | - The entered password should have at least one numeral 9 | - The entered password should have at least one of the symbols $@#_* 10 | 11 | ## Running the script in UNIX 12 | - open Password_Checker folder in terminal 13 | - Run the following commands 14 | 15 | ``` 16 | chmod +x password_checker.py 17 | ./password_check.py 18 | 19 | ``` 20 | ## OUTPUT 21 | ![Image](output_password_checker.png) 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /Python/Password_Checker/output_password_checker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Password_Checker/output_password_checker.png -------------------------------------------------------------------------------- /Python/Port-Scanner/README.md: -------------------------------------------------------------------------------- 1 | # Port Scanner 2 | 3 | ## How to Run? 4 | 5 | * Download this folder in your system. 6 | * `cd` into the folder. 7 | * Install dependencies by running `pip install -r requirements.txt` 8 | * Run `python3 PortScanner.py` 9 | 10 | ## Output 11 | 12 | ![image](images/portscanner1.png) 13 | ![image](images/portscanner2.png) 14 | -------------------------------------------------------------------------------- /Python/Port-Scanner/images/portscanner1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Port-Scanner/images/portscanner1.png -------------------------------------------------------------------------------- /Python/Port-Scanner/images/portscanner2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sanscript-tech/hacking-tools-scripts/54c4385fd3787b0f6c80e4856af2b13105802925/Python/Port-Scanner/images/portscanner2.png -------------------------------------------------------------------------------- /Python/Port-Scanner/requirements.txt: -------------------------------------------------------------------------------- 1 | colorama==0.4.3 2 | -------------------------------------------------------------------------------- /Python/Program-Timer/README.md: -------------------------------------------------------------------------------- 1 | # Program Timer 2 | Calculates the time taken by a python script to execute successfully or unsuccessfully. This can also be used to determine the time taken to execute any shell command or an executable. 3 | 4 | ## Executing the script 5 | * Run `python timer.py
NameLinks
" + array[i][0] + "" + array[i][1] + "