Create knowledge.txt
Browse files- knowledge.txt +46 -0
knowledge.txt
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Using Facad1ng Tool:
|
2 |
+
|
3 |
+
1. Clone the Facad1ng repository:
|
4 |
+
!git clone https://github.com/spyboy-productions/Facad1ng.git
|
5 |
+
|
6 |
+
2. Show files in the current directory:
|
7 |
+
show files
|
8 |
+
|
9 |
+
3. Install required packages:
|
10 |
+
!pip3 install -r requirements.txt
|
11 |
+
!pip install Facad1ng
|
12 |
+
|
13 |
+
4. Create a new file for running Facad1ng:
|
14 |
+
new file mask.py
|
15 |
+
|
16 |
+
5. Edit mask.py with the following content:
|
17 |
+
EDIT_FILE:mask.py:import subprocess
|
18 |
+
|
19 |
+
# Define the command to run your Facad1ng script with arguments
|
20 |
+
command = ["python3", "-m", "Facad1ng.main", "<ngrok_url>", "<real_website>", "<keyword>"]
|
21 |
+
|
22 |
+
# Run the command
|
23 |
+
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
24 |
+
|
25 |
+
# Wait for the process to complete and get the output
|
26 |
+
stdout, stderr = process.communicate()
|
27 |
+
|
28 |
+
# Print the output and error (if any)
|
29 |
+
print("Output:")
|
30 |
+
print(stdout.decode())
|
31 |
+
print("Error:")
|
32 |
+
print(stderr.decode())
|
33 |
+
|
34 |
+
# Check the return code to see if the process was successful
|
35 |
+
if process.returncode == 0:
|
36 |
+
print("Facad1ng completed successfully.")
|
37 |
+
else:
|
38 |
+
print("Facad1ng encountered an error.")
|
39 |
+
|
40 |
+
6. Save the file.
|
41 |
+
|
42 |
+
7. Run the Facad1ng script:
|
43 |
+
!python mask.py
|
44 |
+
|
45 |
+
Note: Replace <ngrok_url> with your ngrok URL, <real_website> with the target website URL, and <keyword> with the desired keyword.
|
46 |
+
|