Update knowledge.txt
Browse files- knowledge.txt +40 -26
knowledge.txt
CHANGED
@@ -1,46 +1,60 @@
|
|
1 |
Using Facad1ng Tool:
|
2 |
|
3 |
1. Clone the Facad1ng repository:
|
4 |
-
|
5 |
|
6 |
2. Show files in the current directory:
|
7 |
-
|
8 |
|
9 |
3. Install required packages:
|
10 |
-
|
11 |
-
|
12 |
|
13 |
4. Create a new file for running Facad1ng:
|
14 |
-
|
15 |
|
16 |
5. Edit mask.py with the following content:
|
17 |
-
|
18 |
|
19 |
-
|
20 |
-
|
21 |
|
22 |
-
|
23 |
-
|
24 |
|
25 |
-
|
26 |
-
|
27 |
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
|
40 |
-
6.
|
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
Using Facad1ng Tool:
|
2 |
|
3 |
1. Clone the Facad1ng repository:
|
4 |
+
CMD: !git clone https://github.com/spyboy-productions/Facad1ng.git
|
5 |
|
6 |
2. Show files in the current directory:
|
7 |
+
CMD: show files
|
8 |
|
9 |
3. Install required packages:
|
10 |
+
CMD: !pip3 install -r requirements.txt
|
11 |
+
CMD: !pip install Facad1ng
|
12 |
|
13 |
4. Create a new file for running Facad1ng:
|
14 |
+
CMD: CREATE_FILE:mask.py
|
15 |
|
16 |
5. Edit mask.py with the following content:
|
17 |
+
CMD: 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. Run the Facad1ng script:
|
41 |
+
CMD: !python mask.py
|
|
|
|
|
42 |
|
43 |
Note: Replace <ngrok_url> with your ngrok URL, <real_website> with the target website URL, and <keyword> with the desired keyword.
|
44 |
|
45 |
+
Multiple Commands Example:
|
46 |
+
|
47 |
+
To install gTTS and create a new file:
|
48 |
+
CMD: !pip install gtts
|
49 |
+
CMD: CREATE_FILE:gg.py
|
50 |
+
CMD: EDIT_FILE:gg.py:from gtts import gTTS
|
51 |
+
import os
|
52 |
+
|
53 |
+
text = "Hello, this is a test of text-to-speech using gTTS."
|
54 |
+
tts = gTTS(text=text, lang='en')
|
55 |
+
tts.save("hello.mp3")
|
56 |
+
print("Audio file 'hello.mp3' has been created.")
|
57 |
+
CMD: !python gg.py
|
58 |
+
|
59 |
+
These commands will install gTTS, create a new file with a simple text-to-speech script, and run it to generate an MP3 file.
|
60 |
+
|