Skip to content

Commit

Permalink
Create pyjs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vrikodar authored Aug 11, 2021
1 parent fbea205 commit 08fefb1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Modules/pyjs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/python3

# Author: z3r0day :: https://github.com/SxNade

# Javascript Module

RED = '\033[1;31;48m'
WHITE = "\33[0m"
GREEN = '\033[1;32;48m'

import re
import sys

def js_search(data_to_search_through):
js = re.findall(r'src=[" \']?(.*\.js)[\s > " \']', data_to_search_through)
js_files = list(set(js))
return js_files

0 comments on commit 08fefb1

Please sign in to comment.