|
| 1 | +# Comparing `tmp/gitsint-0.1.0.tar.gz` & `tmp/gitsint-0.1.1.tar.gz` |
| 2 | + |
| 3 | +## filetype from file(1) |
| 4 | + |
| 5 | +```diff |
| 6 | +@@ -1 +1 @@ |
| 7 | +-gzip compressed data, was "gitsint-0.1.0.tar", max compression |
| 8 | ++gzip compressed data, was "gitsint-0.1.1.tar", max compression |
| 9 | +``` |
| 10 | + |
| 11 | +## Comparing `gitsint-0.1.0.tar` & `gitsint-0.1.1.tar` |
| 12 | + |
| 13 | +### file list |
| 14 | + |
| 15 | +```diff |
| 16 | +@@ -1,13 +1,14 @@ |
| 17 | +--rw-r--r-- 0 0 0 1066 2024-05-20 15:53:16.177005 gitsint-0.1.0/LICENSE |
| 18 | +--rw-r--r-- 0 0 0 35149 2024-05-19 09:46:11.286809 gitsint-0.1.0/LICENSE.md |
| 19 | +--rw-r--r-- 0 0 0 0 2024-05-20 17:04:34.870616 gitsint-0.1.0/README.md |
| 20 | +--rw-r--r-- 0 0 0 12459 2024-05-20 15:53:16.177005 gitsint-0.1.0/gitsint/__init__.py |
| 21 | +--rw-r--r-- 0 0 0 266 2024-05-19 09:46:11.286809 gitsint-0.1.0/gitsint/instruments.py |
| 22 | +--rw-r--r-- 0 0 0 0 2024-05-19 09:46:11.286809 gitsint-0.1.0/gitsint/modules/__init__.py |
| 23 | +--rw-r--r-- 0 0 0 0 2024-05-19 09:46:11.286809 gitsint-0.1.0/gitsint/modules/profile/__init__.py |
| 24 | +--rw-r--r-- 0 0 0 2526 2024-05-20 11:05:48.441921 gitsint-0.1.0/gitsint/modules/profile/friends.py |
| 25 | +--rw-r--r-- 0 0 0 385 2024-05-20 11:05:57.412526 gitsint-0.1.0/gitsint/modules/profile/profile.py |
| 26 | +--rw-r--r-- 0 0 0 0 2024-05-19 09:46:11.296809 gitsint-0.1.0/gitsint/modules/repos/__init__.py |
| 27 | +--rw-r--r-- 0 0 0 8601 2024-05-20 15:47:29.310895 gitsint-0.1.0/gitsint/modules/repos/repository.py |
| 28 | +--rw-r--r-- 0 0 0 770 2024-05-20 17:04:03.473780 gitsint-0.1.0/pyproject.toml |
| 29 | +--rw-r--r-- 0 0 0 896 1970-01-01 00:00:00.000000 gitsint-0.1.0/PKG-INFO |
| 30 | ++-rw-r--r-- 0 0 0 1066 2024-05-20 15:53:16.177005 gitsint-0.1.1/LICENSE |
| 31 | ++-rw-r--r-- 0 0 0 35149 2024-05-19 09:46:11.286809 gitsint-0.1.1/LICENSE.md |
| 32 | ++-rw-r--r-- 0 0 0 4685 2024-05-20 21:27:19.000210 gitsint-0.1.1/README.md |
| 33 | ++-rw-r--r-- 0 0 0 4685 2024-05-20 21:34:44.671467 gitsint-0.1.1/gitsint/README.md |
| 34 | ++-rw-r--r-- 0 0 0 12459 2024-05-20 21:33:45.161504 gitsint-0.1.1/gitsint/__init__.py |
| 35 | ++-rw-r--r-- 0 0 0 266 2024-05-19 09:46:11.286809 gitsint-0.1.1/gitsint/instruments.py |
| 36 | ++-rw-r--r-- 0 0 0 0 2024-05-19 09:46:11.286809 gitsint-0.1.1/gitsint/modules/__init__.py |
| 37 | ++-rw-r--r-- 0 0 0 0 2024-05-19 09:46:11.286809 gitsint-0.1.1/gitsint/modules/profile/__init__.py |
| 38 | ++-rw-r--r-- 0 0 0 2453 2024-05-20 19:54:10.549360 gitsint-0.1.1/gitsint/modules/profile/friends.py |
| 39 | ++-rw-r--r-- 0 0 0 385 2024-05-20 19:47:09.923659 gitsint-0.1.1/gitsint/modules/profile/profile.py |
| 40 | ++-rw-r--r-- 0 0 0 0 2024-05-19 09:46:11.296809 gitsint-0.1.1/gitsint/modules/repos/__init__.py |
| 41 | ++-rw-r--r-- 0 0 0 8601 2024-05-20 15:47:29.310895 gitsint-0.1.1/gitsint/modules/repos/repository.py |
| 42 | ++-rw-r--r-- 0 0 0 858 2024-05-20 21:35:09.651617 gitsint-0.1.1/pyproject.toml |
| 43 | ++-rw-r--r-- 0 0 0 5616 1970-01-01 00:00:00.000000 gitsint-0.1.1/PKG-INFO |
| 44 | +``` |
| 45 | + |
| 46 | +### Comparing `gitsint-0.1.0/LICENSE` & `gitsint-0.1.1/LICENSE` |
| 47 | + |
| 48 | + * *Files identical despite different names* |
| 49 | + |
| 50 | +### Comparing `gitsint-0.1.0/LICENSE.md` & `gitsint-0.1.1/LICENSE.md` |
| 51 | + |
| 52 | + * *Files identical despite different names* |
| 53 | + |
| 54 | +### Comparing `gitsint-0.1.0/gitsint/__init__.py` & `gitsint-0.1.1/gitsint/__init__.py` |
| 55 | + |
| 56 | + * *Files 0% similar despite different names* |
| 57 | + |
| 58 | +```diff |
| 59 | +@@ -19,15 +19,15 @@ |
| 60 | + import os |
| 61 | + |
| 62 | + DEBUG = True |
| 63 | + OUTPUT_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), "../output")) |
| 64 | + json_data = [] |
| 65 | + username_FORMAT = r'\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b' |
| 66 | + |
| 67 | +-__version__ = "1.0" |
| 68 | ++__version__ = "0.1.0" |
| 69 | + |
| 70 | + |
| 71 | + def import_submodules(package, recursive=True): |
| 72 | + """Get all the Gitint submodules""" |
| 73 | + if isinstance(package, str): |
| 74 | + package = importlib.import_module(package) |
| 75 | + results = {} |
| 76 | +@@ -78,15 +78,15 @@ |
| 77 | + #TODO |
| 78 | + if(args.cli): |
| 79 | + return |
| 80 | + def print_fancy_credits(): |
| 81 | + print('===============================') |
| 82 | + print(' Gitsint Credits ') |
| 83 | + print('===============================') |
| 84 | +- print('\033[94mGithub: https://github.com/Zerostats/Gitint\033[0m') |
| 85 | ++ print('\033[94mGithub: https://github.com/zerostats/gitsint\033[0m') |
| 86 | + print('\033[94mThis tool is made for educational purposes only.\033[0m') |
| 87 | + print('\033[94mDo not use it for illegal purposes.\033[0m') |
| 88 | + print('===============================') |
| 89 | + |
| 90 | + print_fancy_credits() |
| 91 | + |
| 92 | + def fetch_user(username: str,args) -> str: |
| 93 | +@@ -301,21 +301,19 @@ |
| 94 | + help="Create a JSON with the results") |
| 95 | + parser.add_argument("-T","--timeout", type=int , default=10, required=False,dest="timeout", |
| 96 | + help="Set max timeout value (default 10)") |
| 97 | + parser.add_argument("--cli", default=False, required=False,action="store_true",dest="cli", |
| 98 | + help="Print the response in JSON format") |
| 99 | + parser.add_argument("--clean", default=False, required=False,action="store_true",dest="cli", |
| 100 | + help="Print the response in JSON format") |
| 101 | +- #check_update() |
| 102 | ++ check_update() |
| 103 | + args = parser.parse_args() |
| 104 | + |
| 105 | +- |
| 106 | + credit(args) |
| 107 | + username=args.username[0] |
| 108 | +- |
| 109 | + user = fetch_user(username,args) |
| 110 | + if "Error" in user: |
| 111 | + print(colored(user, 'red')) |
| 112 | + exit() |
| 113 | + |
| 114 | + |
| 115 | + # Import Modules |
| 116 | +``` |
| 117 | + |
| 118 | +### Comparing `gitsint-0.1.0/gitsint/modules/profile/friends.py` & `gitsint-0.1.1/gitsint/modules/profile/friends.py` |
| 119 | + |
| 120 | + * *Files 6% similar despite different names* |
| 121 | + |
| 122 | +```diff |
| 123 | +@@ -34,54 +34,53 @@ |
| 124 | + if len(extracted_usernames) == 0: |
| 125 | + break |
| 126 | + usernames.extend(extracted_usernames) |
| 127 | + page_num += 1 |
| 128 | + return usernames |
| 129 | + |
| 130 | + |
| 131 | +-async def track(user,client,out,args): |
| 132 | ++async def track(user,client,out): |
| 133 | + followers_url = f"https://github.com/{user}?tab=followers" |
| 134 | + following_url = f"https://github.com/{user}?tab=following" |
| 135 | + |
| 136 | +- if args.cli == False: |
| 137 | +- print(f"Tracking {user}'s followers and following...") |
| 138 | + followers_usernames = await extract_all_usernames(followers_url,client,out) |
| 139 | + following_usernames = await extract_all_usernames(following_url,client,out) |
| 140 | + |
| 141 | + |
| 142 | + common_usernames = [user for user in followers_usernames if user in following_usernames] |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + return json.dumps(common_usernames) |
| 147 | + |
| 148 | +-async def friends(user, client, out,args): |
| 149 | ++async def friends(user, client, out, args): |
| 150 | + |
| 151 | + name = "friends" |
| 152 | + domain = "friends" |
| 153 | + method="bs4" |
| 154 | + frequent_rate_limit=True |
| 155 | +- username = user["login"] |
| 156 | +- |
| 157 | ++ |
| 158 | ++ username = user['login'] |
| 159 | + |
| 160 | + try: |
| 161 | + |
| 162 | + # TODO if repo > 100 |
| 163 | +- usernames = await track(username,client,out,args,) |
| 164 | ++ usernames = await track(username,client,out) |
| 165 | + #print(users) |
| 166 | + |
| 167 | + out.append({"name": name,"domain":domain,"method":method,"frequent_rate_limit":frequent_rate_limit, |
| 168 | + "rateLimit": False, |
| 169 | + "exists": True, |
| 170 | + "data": usernames, |
| 171 | + "others": None, |
| 172 | + |
| 173 | + }) |
| 174 | + |
| 175 | +- except Exception: |
| 176 | ++ except Exception as e: |
| 177 | ++ print(e) |
| 178 | + |
| 179 | + out.append({"name": name,"domain":domain,"method":method,"frequent_rate_limit":frequent_rate_limit, |
| 180 | + "rateLimit": False, |
| 181 | + "exists": False, |
| 182 | + "data": None, |
| 183 | + "others": None, |
| 184 | +``` |
| 185 | + |
| 186 | +### Comparing `gitsint-0.1.0/gitsint/modules/repos/repository.py` & `gitsint-0.1.1/gitsint/modules/repos/repository.py` |
| 187 | + |
| 188 | + * *Files identical despite different names* |
| 189 | + |
| 190 | +### Comparing `gitsint-0.1.0/pyproject.toml` & `gitsint-0.1.1/pyproject.toml` |
| 191 | + |
| 192 | + * *Files 14% similar despite different names* |
| 193 | + |
| 194 | +```diff |
| 195 | +@@ -1,15 +1,16 @@ |
| 196 | + [tool.poetry] |
| 197 | + name = "gitsint" |
| 198 | +-version = "0.1.0" |
| 199 | +-description = "gitsint allows you to check everything from a github user." |
| 200 | ++version = "0.1.1" |
| 201 | ++description = "Gitsint allows you to check everything from a github user. It's a powerfull github osint tool" |
| 202 | + authors = ["Zerostats"] |
| 203 | + license = "MIT" |
| 204 | + readme = "README.md" |
| 205 | + |
| 206 | ++ |
| 207 | + [tool.poetry.dependencies] |
| 208 | + python = "^3.10" |
| 209 | + termcolor = "^2.4.0" |
| 210 | + httpx = "^0.27.0" |
| 211 | + trio = "^0.25.1" |
| 212 | + tqdm = "^4.66.4" |
| 213 | + colorama = "^0.4.6" |
| 214 | +@@ -28,12 +29,12 @@ |
| 215 | + poethepoet = "^0.26.1" |
| 216 | + |
| 217 | + [tool.poetry.scripts] |
| 218 | + gitsint = "gitsint:main" |
| 219 | + |
| 220 | + |
| 221 | + [tool.poe.tasks] |
| 222 | +-docker = "docker build -t gitsint-docker ." |
| 223 | +- |
| 224 | ++docker = "docker build . -t my-gitsint-image" |
| 225 | ++docker-run = "docker run my-gitsint-image gitsint" |
| 226 | + [build-system] |
| 227 | + requires = ["poetry-core"] |
| 228 | + build-backend = "poetry.core.masonry.api" |
| 229 | +``` |
| 230 | + |
0 commit comments