Skip to content

Commit

Permalink
pytube3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ytisf committed Jan 2, 2021
1 parent 2831f4e commit b467fef
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ For details about version look at the [tags on this repository](https://www.gith
- Thanks to [Itzik Kotler](https://github.com/ikotler) for some ideas.
- Shout out to [@cac0ns3c](https://github.com/cac0ns3c) for resolving some dependency hell.
- Thanks to [@Nilesh0301](https://github.com/Nilesh0301) for pointing out some Python compatibility issues.
- Big thanks to [@hbmartin](https://github.com/hbmartin) for pointing us to [pytube3](https://github.com/get-pytube/pytube3) latest update and support.

### Resources
- Thanks [Wireshark](https://wireshark.com/) for your awesome wiki and tool. Especially [packet dumps](http://wiki.wireshark.org/SampleCaptures).
Expand Down
5 changes: 2 additions & 3 deletions pyexfil/Stega/video_dict/vid_to_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
try:
import numpy as np
from PIL import Image
from pytube import pytube
from pytube import YouTube
except ImportError, e:
sys.stderr.write("Please install the dependencies needed.\n")
sys.stderr.write("\t%s\n" % e)
Expand All @@ -35,10 +35,9 @@
def _getYouTubeVideo(url):
try:
yt = YouTube(url)
yt.set_filename('Current')
sys.stdout.write("[.]\tGetting video.\n")
video = yt.get('mp4', '720p')
video.download('/tmp/main.mp4')
video.download('/tmp/main.mp4', filename='Current')
sys.stdout.write("[.]\tVideo saved to /tmp/main.mp4.\n")
return True
except:
Expand Down
2 changes: 1 addition & 1 deletion pyexfil/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
NAME = "PyExfil"
SLOGAN = "Stress Testing Detection & Creativity"
VERSION_CODE = 1.3.2
VERSION_CODE = 1.3.3
VERSION_NAME = "Harpax"
AUTHORS = ['tisf']
RELEASE_DATE = '2020-12-31'
Expand Down
2 changes: 1 addition & 1 deletion requirements2.7.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ slackclient
progressbar
numpy
pillow
pytube
pytube3
PyCryptodome
qrcode
base58
Expand Down
2 changes: 1 addition & 1 deletion requirements3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ slackclient
progressbar
numpy
pillow
pytube
pytube3
PyCrypto
qrcode
base58
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

required = [
'requests>=1.0.0', 'impacket>=0.9.0', 'slackclient', 'progressbar',
'zlib', 'numpy', 'Pillow', 'pytube', 'hashlib', 'urllib2', 'PyCrypto',
'zlib', 'numpy', 'Pillow', 'pytube3', 'hashlib', 'urllib2', 'PyCrypto',
'base58', 'names', 'Faker', 'luhn'
]

Expand Down

0 comments on commit b467fef

Please sign in to comment.