diff --git a/README.md b/README.md index 51ad315..534bf86 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ + +## Screenshots + ![App Screenshot](https://res.cloudinary.com/dnq1cp8ev/image/upload/v1719372913/smb_tvphl4.png) + # SMB Scanner Tool > [!NOTE]\ @@ -9,13 +13,9 @@ ## Badges -

- GitHub Followers     - Infosec Exchange Followers    - PGO - -

- +![GitHub followers](https://img.shields.io/github/followers/twhite96?style=for-the-badge&logo=github&logoColor=white&labelColor=black&color=white) +![Mastodon Follow](https://img.shields.io/mastodon/follow/110494047736700791?domain=https%3A%2F%2Finfosec.exchange&style=for-the-badge&logo=mastodon&logoColor=white&label=%40tiff%20on%20Infosec%20Exchange&labelColor=white&color=%2310B981) +![Static Badge](https://img.shields.io/badge/PGP-728E_9212_5304_2C89_FF79%C2%A0_5463_A720_CEE5_FA60_40F4-10B981?style=for-the-badge&logoColor=black&labelColor=white) ## Acknowledgements diff --git a/src/smb_scanner.py b/src/smb_scanner.py index 04d4cdb..5395bab 100644 --- a/src/smb_scanner.py +++ b/src/smb_scanner.py @@ -8,6 +8,8 @@ from os.path import exists import datetime import textwrap import sys +import getpass + global domain @@ -34,3 +36,12 @@ def options(): Fore.YELLOW + Style.BRIGHT, Fore.RED + Style.BRIGHT, ) + + +def get_os_type(): + if sys.platform.startswith("win32"): + getpass.getuser() + elif sys.platform.startswith("dariwn"): + pass + elif sys.platform.startswith("linux"): + pass