Backed out changeset 272700ebb8c9 (bug 1666264) as requested by :Bebe

This commit is contained in:
Narcis Beleuzu 2020-10-08 11:35:50 +03:00
Родитель e516ab4cc5
Коммит d4efb23149
106 изменённых файлов: 310 добавлений и 326 удалений

Просмотреть файл

@ -108,6 +108,13 @@ class TestMemoryUsage(AwsyTestCase):
}
self._playback = get_playback(config)
recording_arg = []
for recording in recordings:
recording_arg.append(os.path.join(self._playback.mozproxy_dir, recording))
self._playback.config['playback_files'] = recording_arg
self._playback.start()
# We need to reload after the mitmproxy cert is installed

Просмотреть файл

@ -4,209 +4,239 @@
"visibility": "public",
"digest": "89a93e65ae36b3c8b53bfadba2f318736bfe9073839241731df20610607245a530bfc6118d27b0244bea0a31d4e1ad03d95f8125a170c89d70e2dd8e506eb1a4",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-amazon.zip"
"filename": "mitm4-linux-firefox-amazon.zip",
"unpack": true
},
{
"size": 14244293,
"visibility": "public",
"digest": "04c8a440e56868d01878e2c2b1e7b096ac4f39f9c113a3bc3e9dcab52359abff408afb4d5ca4ba984735dacf5af815c4a4d71f939026a91817654fb55011d38f",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-apple.zip"
"filename": "mitm4-linux-firefox-apple.zip",
"unpack": true
},
{
"size": 181484,
"visibility": "public",
"digest": "94cf72eef8ca4c90f3ea8517db848510d22fc98599a5aa63435f519544f25d8de94c826f0c5bc2b6ea8dd2d31916278e5dcb8cf32a63033ad2ce0c3a09505a6a",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-bing-search.zip"
"filename": "mitm4-linux-firefox-bing-search.zip",
"unpack": true
},
{
"size": 2455205,
"visibility": "public",
"digest": "44f5a9baf7fc27484d9450f6625e9afbbd9f12f2c80c7ebfad8821f2fed69c7744c131f4e18257c77d24e82cf004abd2e761f774b000efb57fb5d15565a01dce",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-ebay.zip"
"filename": "mitm4-linux-firefox-ebay.zip",
"unpack": true
},
{
"size": 5646483,
"visibility": "public",
"digest": "3f4c11d8003278b5b13ad3f2ed1adaf2a33e0b645844202d8371ee669e00d36f0ae09814ffda3632011bd47e8202cc8ef23757e5d72a6d05a37a49a1ad59413e",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-facebook.zip"
"filename": "mitm4-linux-firefox-facebook.zip",
"unpack": true
},
{
"size": 6175607,
"visibility": "public",
"digest": "588dc72d7e853e7b3bf51858b1e48445b70564a24e245bd361075ac83e64d65593fdbc87831fd4ea02805cb0442af754178c6011475fb0a6d4a61001fe76523a",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-fandom.zip"
"filename": "mitm4-linux-firefox-fandom.zip",
"unpack": true
},
{
"size": 56817901,
"visibility": "public",
"digest": "5bad8693dbef7cc12ec1a735f80596158948cdc18e522100562e32ed7a286e95909cf8275fac2d46ebf4e9cc84b3c28e59e78973d4282613c5aad60a2a3892ad",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-google-docs.zip"
"filename": "mitm4-linux-firefox-google-docs.zip",
"unpack": true
},
{
"size": 8188029,
"visibility": "public",
"digest": "e4bf46d3676e0a9b101ef942f97186258289e448c85c9ba296c7faec3e00581a4da9bf35f75b4124cecb69e4933f19f37412688812dfd68cc625b18ccd8a05ae",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-google-mail.zip"
"filename": "mitm4-linux-firefox-google-mail.zip",
"unpack": true
},
{
"size": 3860610,
"visibility": "public",
"digest": "45ee7d7f4af86c32edfe1fc57f6a5fd6478209409dd244bd8349dbad5e538061b6f94093c89520e0bffb77ac5d628c7ae60cb50428d3130192db9f8ac895c2a7",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-google-search.zip"
"filename": "mitm4-linux-firefox-google-search.zip",
"unpack": true
},
{
"size": 12726066,
"visibility": "public",
"digest": "904dfb7b604875e196c46ce5677f2ca419ddf2804f3575b8fd6ca49bd47cc066e298d123023a0b254c59f473507bdafef46cbb21b2f0592ec3780c40bb5d7dca",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-google-sheets.zip"
"filename": "mitm4-linux-firefox-google-sheets.zip",
"unpack": true
},
{
"size": 18308375,
"visibility": "public",
"digest": "af4b0c9985dec29b9d54e765771546161fb770a2573be7a287f2fb29dddc1a9e85765810cffd79d585952d71d6e5d45a6ca13ffdad2b4271c79ac569ea2f7704",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-google-slides.zip"
"filename": "mitm4-linux-firefox-google-slides.zip",
"unpack": true
},
{
"size": 1916181,
"visibility": "public",
"digest": "f44c735e5b69f6f17c55dd98b5af3a762ecb4e27acd79673f05704617da9f0e8bd6d4f657223ebcdb0b5cdcbe62dd40646cbd1d173aaaa1b6332bc8397aae2bb",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-imdb.zip"
"filename": "mitm4-linux-firefox-imdb.zip",
"unpack": true
},
{
"size": 7551825,
"visibility": "public",
"digest": "a04d8141c28abde302cc8c2329e71e9d38ca6f1458f0e38161b94c17400b80900329ef26230552339ffbc93df497b4fe3feda90226fb08215031f880fc76ad51",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-imgur.zip"
"filename": "mitm4-linux-firefox-imgur.zip",
"unpack": true
},
{
"size": 4210445,
"visibility": "public",
"digest": "62f980b5f1a1d6f896667ae5480d9637bd7dd2c059abc8a449c7212cded3a5078450c804c50c65fa6328eeadd4edd04536b4a9be0bc634f8d538c088c1410684",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-instagram.zip"
"filename": "mitm4-linux-firefox-instagram.zip",
"unpack": true
},
{
"size": 5041497,
"visibility": "public",
"digest": "bd3831953cdefc26c28e298830c4ccc14fcbfb1e42b190ddfb4dd75c96a5fc946c9560c4411bf232b1e4046347258c1bfe43db88b461e8a1b9de5a8cbfe50c9c",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-linkedin.zip"
"filename": "mitm4-linux-firefox-linkedin.zip",
"unpack": true
},
{
"size": 2886896,
"visibility": "public",
"digest": "af40b89006f6e457f0c6afa7e20fe176181de8ddf0c11c76dc4b5b1c8bbfb74a2bd0214a76c5d5f6a73b74637641bb01ff77e6abdb5fba6833b2d6af225a83c2",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-microsoft.zip"
"filename": "mitm4-linux-firefox-microsoft.zip",
"unpack": true
},
{
"size": 63313140,
"visibility": "public",
"digest": "24236b7cb2b6f5656fa87173b887801dd3ee1a6dd43d9cabf055735813aaf3975ac1daf743f3dd281c4d0f93fa32900377b17f3711e38b32d90f7271b3f118c1",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-netflix.zip"
"filename": "mitm4-linux-firefox-netflix.zip",
"unpack": true
},
{
"size": 3094726,
"visibility": "public",
"digest": "3582326ba319f583f86480176bfc039d9b252374acc3b19f215dedb284340ee161e0fb890e4b90d9f29da56b5448044edc5247661a9ebadccfecb03340ee4249",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-office.zip"
"filename": "mitm4-linux-firefox-office.zip",
"unpack": true
},
{
"size": 10091794,
"visibility": "public",
"digest": "4ab0e3defec98b227f1685f97246848d7662897cb6a1e83ae657f82b1ca17de7c69ac2e764def36f3dcf4f4c372b5a0410f1bb9d55e55ec046b6f96c183db42a",
"algorithm": "sha512",
"filename": "firefox-outlook.zip"
"filename": "firefox-outlook.zip",
"unpack": true
},
{
"size": 5110282,
"visibility": "public",
"digest": "37dfef70b9fd8f9038084fc35878f82f67b8a96ca35b1d9d899813a87df513a591a92aa0e20017d40ea2de91b4b409a191eaa872680335bf67bae492705996ea",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-paypal.zip"
"filename": "mitm4-linux-firefox-paypal.zip",
"unpack": true
},
{
"size": 22153229,
"visibility": "public",
"digest": "92dcecc7a3862b3e6ef1ec5e6c025726d81e4b7ef2107043c64bf342a1ab6dd9d4f4db301f6b563d0ac64a530faa954c4f1f877fb593a2cf800734f71c58d07d",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-pinterest.zip"
"filename": "mitm4-linux-firefox-pinterest.zip",
"unpack": true
},
{
"size": 3622625,
"visibility": "public",
"digest": "7c90d685d5a0e3e4a50e16747255ebed66718e527aaf63f13c7d1b5ad6d2d158ebc90bf8736d66617d9a59ede6ff9bd6cca3ee6f016045d20203750c4980ed79",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-reddit.zip"
"filename": "mitm4-linux-firefox-reddit.zip",
"unpack": true
},
{
"size": 20028158,
"visibility": "public",
"digest": "2829c998c429ee03113473bb21f09f6d7b2fdaa199a009fac20cc8ebd073b2379ff7b15b286fac26ce7536967be31bb54451a582f9163bb29869cb8e43f8c9c3",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-tumblr.zip"
"filename": "mitm4-linux-firefox-tumblr.zip",
"unpack": true
},
{
"size": 16839627,
"visibility": "public",
"digest": "aeac3c3689c0ac7e6993025f51c89750e90a6084680d0c15d63e21b96739484c960ecd3bf34d30949d60aa8edf88862394786fe9499f2d68b46055373723f388",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-twitch.zip"
"filename": "mitm4-linux-firefox-twitch.zip",
"unpack": true
},
{
"size": 6590856,
"visibility": "public",
"digest": "51c3068ed8061baec1c826634d66b2db6daf35f0fb3984b9bbbdfa7c6681f59532ac1ba797de6bb123a2f0caba5caf2a7c5b2690685de82d43269450da5b7477",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-twitter.zip"
"filename": "mitm4-linux-firefox-twitter.zip",
"unpack": true
},
{
"size": 1336433,
"visibility": "public",
"digest": "c574a872a93278b99bc8012a127b91acdcad300172b22699074a0d68180d7f134b7f4963d7f8a54d95cd034aad634a8f5de2bbeb12d8963d93089364cded77eb",
"algorithm": "sha512",
"filename": "firefox-wikipedia.zip"
"filename": "firefox-wikipedia.zip",
"unpack": true
},
{
"size": 4179595,
"visibility": "public",
"digest": "def5d6c77d083a841a5ca203f453590c862b88205b68b3e623e2f0a5223e3afd15e275b6cf950ec135be20dc9615caddb032a5538819f56395e6058d7b03ba71",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-yahoo-mail.zip"
"filename": "mitm4-linux-firefox-yahoo-mail.zip",
"unpack": true
},
{
"size": 4769089,
"visibility": "public",
"digest": "2b13c1211704d5b1f9ff5a450c6dd07b5d312a4497d69a1b408759c8ba9f8dda821f0b7d975d00d5ebbde0f9517c4a5f002489aa2127300e29db1610948321e4",
"algorithm": "sha512",
"filename": "mitmproxy-tp6-yahoo-news.zip"
"filename": "mitmproxy-tp6-yahoo-news.zip",
"unpack": true
},
{
"size": 1099328,
"visibility": "public",
"digest": "628d7026ff9d45592342300df326be7126fbfa300a0664cac8d789ac58b4f90c13b73502029d932120413d9957fef4fa2d5ff2971c2c2acd6ab3c2c4c5e67bcf",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-yandex.zip"
"filename": "mitm4-linux-firefox-yandex.zip",
"unpack": true
},
{
"size": 4828567,
"visibility": "public",
"digest": "eaca3d7f82de7e48332342db5ac18620d76f0568fa553c3ae12b631b35763e29eaee487f2c17179b987ffe192e01da6fae89f7f88f0e6adfb31a2b081a66e3c6",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-youtube.zip"
"filename": "mitm4-linux-firefox-youtube.zip",
"unpack": true
}
]

Просмотреть файл

@ -17,7 +17,6 @@ from subprocess import PIPE
import mozinfo
from mozprocess import ProcessHandler
from mozproxy.backends.base import Playback
from mozproxy.recordings import RecordingFile
from mozproxy.utils import (
transform_platform,
tooltool_download,
@ -91,7 +90,6 @@ class Mitmproxy(Playback):
self.port = None
self.mitmproxy_proc = None
self.mitmdump_path = None
self.recordings = []
self.browser_path = ""
if config.get("binary", None):
@ -110,6 +108,11 @@ class Mitmproxy(Playback):
)
self.config["playback_version"] = "4.0.4"
if self.config.get("playback_binary_manifest") is None:
LOG.info(
"mitmproxy was not provided with a 'playback_binary_manifest' "
"Using default playback_binary_manifest"
)
self.config["playback_binary_manifest"] = (
"mitmproxy-rel-bin-%s-{platform}.manifest"
% self.config["playback_version"]
@ -145,10 +148,6 @@ class Mitmproxy(Playback):
# go ahead and download and setup mitmproxy
self.download()
# load any playback file added by playback_files argument
for playback_file in self.config.get("playback_files", []):
self.recordings.append(RecordingFile(playback_file))
# mitmproxy must be started before setup, so that the CA cert is available
self.start_mitmproxy_playback(self.mitmdump_path, self.browser_path)
@ -159,13 +158,6 @@ class Mitmproxy(Playback):
self.stop()
raise
def get_recordings_from_manifest(self, manifest_path, download_path):
with open(manifest_path) as manifest_file:
manifest = json.load(manifest_file)
for file in manifest:
self.recordings.append(RecordingFile(os.path.join(download_path,
file["filename"])))
def download(self):
"""Download and unpack mitmproxy binary and pageset using tooltool"""
if not os.path.exists(self.mozproxy_dir):
@ -205,12 +197,24 @@ class Mitmproxy(Playback):
transformed_manifest = transform_platform(
_manifest, self.config["platform"]
)
tooltool_download(
transformed_manifest, self.config["run_local"], self.mozproxy_dir
)
self.get_recordings_from_manifest(_manifest, self.mozproxy_dir)
if "playback_artifacts" in self.config:
artifacts = self.config["playback_artifacts"].split(",")
for artifact in artifacts:
artifact = artifact.strip()
if not artifact:
continue
artifact_name = artifact.split("/")[-1]
if artifact_name.endswith(".manifest"):
tooltool_download(
artifact, self.config["run_local"], self.mozproxy_dir
)
else:
dest = os.path.join(self.mozproxy_dir, artifact_name)
download_file_from_url(artifact, dest, extract=True)
def stop(self):
self.stop_mitmproxy_playback()
@ -245,14 +249,14 @@ class Mitmproxy(Playback):
command.extend(self.config["playback_tool_args"])
elif self.config.get("playback_record"):
command.extend(["-w", self.config.get("playback_record")])
elif len(self.recordings) > 0:
elif self.config.get("playback_files"):
script = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
"scripts",
"alternate-server-replay.py",
)
self.recording_paths = [normalize_path(recording.recording_path)
for recording in self.recordings]
self.recording_paths = [normalize_path(recording_path)
for recording_path in self.config["playback_files"]]
if self.config["playback_version"] in ["4.0.4", "5.1.1"]:
args = [
@ -358,7 +362,7 @@ class Mitmproxy(Playback):
def confidence(self):
file_name = "mitm_netlocs_%s.json" % os.path.splitext(
os.path.basename(
self.recordings[0].recording_path
self.recording_paths[0]
)
)[0]
path = os.path.normpath(os.path.join(self.upload_dir,

Просмотреть файл

@ -144,7 +144,7 @@ class AlternateServerPlayback:
except exceptions.FlowReadException as e:
raise exceptions.CommandError(str(e))
self.load_flows(flows)
proto = os.path.join(os.path.dirname(path) + "metadata.json")
proto = os.path.splitext(path)[0] + ".json"
if os.path.exists(proto):
ctx.log.info("Loading proto info from %s" % proto)
with open(proto) as f:

Просмотреть файл

@ -1,143 +0,0 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from __future__ import absolute_import
import json
import os
import shutil
from datetime import datetime
from shutil import copyfile
from zipfile import ZipFile
from .utils import LOG
class RecordingFile:
def __init__(self, path_to_zip_file):
self._recording_zip_path = path_to_zip_file
self._base_name = os.path.splitext(os.path.basename(self._recording_zip_path))[0]
if not os.path.splitext(path_to_zip_file)[1] == ".zip":
LOG.error(
"Wrong file type! The provided recording should be a zip file. %s" %
path_to_zip_file)
raise Exception("Wrong file type! The provided recording should be a zip file.")
# create a temp dir
self._mozproxy_dir = os.environ["MOZPROXY_DIR"]
self._tempdir = os.path.join(self._mozproxy_dir, self._base_name)
if os.path.exists(self._tempdir):
LOG.info("The recording dir already exists! Resetting the existing dir and data.")
shutil.rmtree(self._tempdir)
os.mkdir(self._tempdir)
self._metadata_path = self._get_temp_path("metadata.json")
self._recording = self._get_temp_path("dump.mp")
if os.path.exists(path_to_zip_file):
with ZipFile(path_to_zip_file, 'r') as zipObj:
# Extract all the contents of zip file in different directory
zipObj.extractall(self._tempdir)
if not os.path.exists(self._recording):
self._convert_to_new_format()
if not os.path.exists(self._metadata_path):
LOG.error("metadata file is missing!")
raise Exception("metadata file is missing!")
with open(self._metadata_path) as json_file:
self._metadata = json.load(json_file)
self.validate_recording()
else:
LOG.info("Recording file does not exists!!! Generating base structure")
self._metadata = {
"content": [],
"recording_date": str(datetime.now())
}
def _convert_to_new_format(self):
# Convert zip recording to new format
LOG.info("Convert zip recording to new format")
for tmp_file in os.listdir(self._tempdir):
if tmp_file.endswith(".mp"):
LOG.info("Renaming %s to dump.mp file" % tmp_file)
os.rename(self._get_temp_path(tmp_file),
self._get_temp_path("dump.mp"))
elif tmp_file.endswith(".json"):
if tmp_file.startswith("mitm_netlocs_"):
LOG.info("Renaming %s to netlocs.json file" % tmp_file)
os.rename(self._get_temp_path("%s.json" % os.path.splitext(tmp_file)[0]),
self._get_temp_path("netlocs.json"))
else:
LOG.info("Renaming %s to metadata.json file" % tmp_file)
os.rename(self._get_temp_path("%s.json" % os.path.splitext(tmp_file)[0]),
self._get_temp_path("metadata.json"))
elif tmp_file.endswith(".png"):
LOG.info("Renaming %s to screenshot.png file" % tmp_file)
os.rename(self._get_temp_path("%s.png" % os.path.splitext(tmp_file)[0]),
self._get_temp_path("screenshot.png"))
def _get_temp_path(self, file_name):
return os.path.join(self._tempdir, file_name)
def validate_recording(self):
# Validates that minimum zip file content exists
if not os.path.exists(self._recording):
LOG.error("Recording file is missing!")
raise Exception("Recording file is missing!")
if not os.path.exists(self._metadata_path):
LOG.error("Metadata file is missing!")
raise Exception("Metadata file is missing!")
if "content" in self._metadata:
# check that all extra files specified in the recording are present
for content_file in self._metadata["content"]:
if not os.path.exists(self._get_temp_path(content_file)):
LOG.error("File %s does not exist!!" % content_file)
raise Exception("Recording file is missing!")
else:
LOG.info("Old file type! Not confirming content!")
def metadata(self, name):
# Return metadata value
return self._metadata[name]
def set_metadata(self, entry, value):
# Set metadata value
self._metadata[entry] = value
@property
def recording_path(self):
# Returns the path of the recoring.mp file included in the zip
return self._recording
def get_file(self, file_name):
# Returns the path to a specified file included in the recording zip
return self._get_temp_path(file_name)
def add_file(self, path):
# Adds file to Zip
if os.path.exists(path):
copyfile(path, self._tempdir)
self._metadata["content"].append(os.path.basename(path))
else:
LOG.error("Target file %s does not exist!!" % path)
raise Exception("File does not exist!!!")
def generate_zip_file(self):
with open(self._get_temp_path(self._metadata_path), "w") as metadata_file:
json.dump(self._metadata, metadata_file)
with ZipFile(self._recording_zip_path, "w") as zf:
zf.write(self._metadata_path, "%s.json" % self._base_name)
zf.write(self.recording_path, "%s.mp" % self._base_name)
for file in self._metadata["content"]:
zf.write(self._get_temp_path(file), file)

Просмотреть файл

@ -0,0 +1,10 @@
[
{
"size": 1505360,
"visibility": "public",
"digest": "89a93e65ae36b3c8b53bfadba2f318736bfe9073839241731df20610607245a530bfc6118d27b0244bea0a31d4e1ad03d95f8125a170c89d70e2dd8e506eb1a4",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-amazon.zip",
"unpack": true
}
]

Просмотреть файл

@ -1,10 +0,0 @@
[
{
"algorithm": "sha512",
"digest": "d801dc23873ef5fac668aa58fa948f5de0d9f3ccc53d6773fb5a137515bd04e72cc8c0c7975c6e1fc19c72b3d721effb5432fce78b0ca6f3a90f2d6467ee5b68",
"filename": "mitm5-linux-firefox-amazon.zip",
"size": 6588776,
"unpack": true,
"visibility": "public"
}
]

Двоичный файл не отображается.

Двоичный файл не отображается.

Просмотреть файл

@ -4,4 +4,3 @@ subsuite = mozbase
[test_utils.py]
[test_command_line.py]
run-if = python == 3 # The mozproxy command line interface is designed to run on Python 3.
[test_recordings.py]

Просмотреть файл

@ -98,7 +98,7 @@ def test_run(install_mozproxy):
"--binary=firefox",
"--topsrcdir=" + build.topsrcdir,
"--objdir=" + build.topobjdir,
os.path.join(here, "files", "mitm5-linux-firefox-amazon.zip")],
os.path.join(here, "example.dump")],
processOutputLine=output_handler,
onFinish=output_handler.finished,
)
@ -121,7 +121,7 @@ def test_failure(install_mozproxy):
["mozproxy",
"--local",
# Exclude some options here to trigger a command-line error.
os.path.join(here, "files", "mitm5-linux-firefox-amazon.zip")],
os.path.join(here, "example.dump")],
processOutputLine=output_handler,
onFinish=output_handler.finished,
)

Просмотреть файл

@ -64,10 +64,13 @@ def get_status_code(url, playback):
def test_mitm_check_proxy(*args):
# test setup
pageset_name = os.path.join(here, "files", "mitm5-linux-firefox-amazon.manifest")
bin_name = "mitmproxy-rel-bin-5.1.1-{platform}.manifest"
pageset_name = "mitm4-linux-firefox-amazon.manifest"
playback_recordings = "amazon.mp"
config = {
"playback_tool": "mitmproxy",
"playback_binary_manifest": bin_name,
"playback_pageset_manifest": os.path.join(here, "files", pageset_name),
"playback_version": '5.1.1',
"platform": mozinfo.os,
@ -80,6 +83,8 @@ def test_mitm_check_proxy(*args):
with tempdir() as obj_path:
config["obj_path"] = obj_path
playback = get_playback(config)
playback.config['playback_files'] = [
os.path.join(obj_path, "testing", "mozproxy", playback_recordings)]
assert playback is not None
try:
@ -99,13 +104,16 @@ def test_mitm_check_proxy(*args):
@mock.patch("mozproxy.utils.ProcessHandler", new=Process)
@mock.patch("os.kill", new=kill)
def test_mitm(*args):
pageset_name = os.path.join(here, "files", "mitm5-linux-firefox-amazon.manifest")
bin_name = "mitmproxy-rel-bin-5.1.1-{platform}.manifest"
pageset_name = "mitm4-linux-firefox-amazon.manifest"
config = {
"playback_tool": "mitmproxy",
"playback_binary_manifest": bin_name,
"playback_pageset_manifest": pageset_name,
"playback_version": '5.1.1',
"platform": mozinfo.os,
"playback_recordings": os.path.join(here, "paypal.mp"),
"run_local": True,
"binary": "firefox",
"app": "firefox",
@ -115,6 +123,7 @@ def test_mitm(*args):
with tempdir() as obj_path:
config["obj_path"] = obj_path
playback = get_playback(config)
playback.config['playback_files'] = config['playback_recordings']
assert playback is not None
try:
playback.start()
@ -136,13 +145,16 @@ def test_playback_setup_failed(*args):
return _s
pageset_name = os.path.join(here, "files", "mitm5-linux-firefox-amazon.manifest")
bin_name = "mitmproxy-rel-bin-5.1.1-{platform}.manifest"
pageset_name = "mitm4-linux-firefox-amazon.manifest"
config = {
"playback_tool": "mitmproxy",
"playback_binary_manifest": bin_name,
"playback_pageset_manifest": pageset_name,
"playback_version": '4.0.4',
"platform": mozinfo.os,
"playback_recordings": os.path.join(here, "paypal.mp"),
"run_local": True,
"binary": "firefox",
"app": "firefox",
@ -157,6 +169,7 @@ def test_playback_setup_failed(*args):
with mock.patch(prefix + "stop_mitmproxy_playback") as p:
try:
pb = get_playback(config)
pb.config['playback_files'] = config['playback_recordings']
pb.start()
except SetupFailed:
assert p.call_count == 1
@ -169,13 +182,16 @@ def test_playback_setup_failed(*args):
@mock.patch("mozproxy.utils.ProcessHandler", new=ProcessWithRetry)
@mock.patch("os.kill", new=kill)
def test_mitm_with_retry(*args):
pageset_name = os.path.join(here, "files", "mitm5-linux-firefox-amazon.manifest")
bin_name = "mitmproxy-rel-bin-5.1.1-{platform}.manifest"
pageset_name = "mitm4-linux-firefox-amazon.manifest"
config = {
"playback_tool": "mitmproxy",
"playback_binary_manifest": bin_name,
"playback_pageset_manifest": pageset_name,
"playback_version": '5.1.1',
"platform": mozinfo.os,
"playback_recordings": os.path.join(here, "paypal.mp"),
"run_local": True,
"binary": "firefox",
"app": "firefox",
@ -185,6 +201,7 @@ def test_mitm_with_retry(*args):
with tempdir() as obj_path:
config["obj_path"] = obj_path
playback = get_playback(config)
playback.config['playback_files'] = config['playback_recordings']
assert playback is not None
try:
playback.start()

Просмотреть файл

@ -1,35 +0,0 @@
#!/usr/bin/env python
from __future__ import absolute_import, print_function
import os
import mozunit
from mozproxy.recordings import RecordingFile
here = os.path.dirname(__file__)
os.environ["MOZPROXY_DIR"] = os.path.join(here, "files")
def test_recording_generation(*args):
test_file = os.path.join(here, "files", "new_file.zip")
file = RecordingFile(test_file)
with open(file.recording_path, "w") as recording:
recording.write("This is a recording")
file.set_metadata("test_file", True)
file.generate_zip_file()
assert os.path.exists(test_file)
os.remove(test_file)
def test_recording_content(*args):
test_file = os.path.join(here, "files", "recording.zip")
file = RecordingFile(test_file)
assert file.metadata("test_file") is True
assert os.path.exists(file.recording_path)
if __name__ == "__main__":
mozunit.main(runwith="pytest")

Просмотреть файл

@ -489,6 +489,28 @@ either Raptor or browsertime."""
else:
LOG.info("Playback recording information not available")
def get_playback_config(self, test):
platform = self.config["platform"]
playback_dir = os.path.join(here, "tooltool-manifests", "playback")
self.config.update(
{
"playback_tool": test.get("playback"),
"playback_version": test.get("playback_version", "4.0.4"),
"playback_binary_zip": test.get("playback_binary_zip_%s" % platform),
"playback_pageset_zip": test.get("playback_pageset_zip_%s" % platform),
"playback_binary_manifest": test.get("playback_binary_manifest"),
"playback_pageset_manifest": test.get("playback_pageset_manifest"),
}
)
for key in ("playback_pageset_manifest", "playback_pageset_zip"):
if self.config.get(key) is None:
continue
self.config[key] = os.path.join(playback_dir, self.config[key])
LOG.info("test uses playback tool: %s " % self.config["playback_tool"])
def delete_proxy_settings_from_profile(self):
# Must delete the proxy settings from the profile if running
# the test with a host different from localhost.
@ -501,22 +523,11 @@ either Raptor or browsertime."""
def start_playback(self, test):
# creating the playback tool
playback_dir = os.path.join(here, "tooltool-manifests", "playback")
self.config.update(
{
"playback_tool": test.get("playback"),
"playback_version": test.get("playback_version", "4.0.4"),
"playback_pageset_manifest": os.path.join(playback_dir,
test.get("playback_pageset_manifest")),
}
)
LOG.info("test uses playback tool: %s " % self.config["playback_tool"])
self.get_playback_config(test)
self.playback = get_playback(self.config)
self.playback.config["playback_files"] = self.get_recording_paths(test)
# let's start it!
self.playback.start()

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "89a93e65ae36b3c8b53bfadba2f318736bfe9073839241731df20610607245a530bfc6118d27b0244bea0a31d4e1ad03d95f8125a170c89d70e2dd8e506eb1a4",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-amazon.zip"
"filename": "mitm4-linux-firefox-amazon.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "04c8a440e56868d01878e2c2b1e7b096ac4f39f9c113a3bc3e9dcab52359abff408afb4d5ca4ba984735dacf5af815c4a4d71f939026a91817654fb55011d38f",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-apple.zip"
"filename": "mitm4-linux-firefox-apple.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "94cf72eef8ca4c90f3ea8517db848510d22fc98599a5aa63435f519544f25d8de94c826f0c5bc2b6ea8dd2d31916278e5dcb8cf32a63033ad2ce0c3a09505a6a",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-bing-search.zip"
"filename": "mitm4-linux-firefox-bing-search.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "44f5a9baf7fc27484d9450f6625e9afbbd9f12f2c80c7ebfad8821f2fed69c7744c131f4e18257c77d24e82cf004abd2e761f774b000efb57fb5d15565a01dce",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-ebay.zip"
"filename": "mitm4-linux-firefox-ebay.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"digest": "c25210aef5302d86d28dba8b52700bb74daf00fe1050273e3b3cfcda72b26d1343e790a4221f590c5e6b2ddbc3a9169da07f062b2d3d30e85ed2c52d4835fd54",
"filename": "mitm4-linux-firefox-facebook-old.zip",
"size": 29276648,
"unpack": true,
"visibility": "public"
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"digest": "df151b87d21c0ad7962f3c3b084c86a50ad691ae2ebd831f6ce07f3f022d03ad877210866df5145a820236d779674a8871680184fd32006162887039f3fe1463",
"filename": "mitm4-linux-firefox-facebook-redesign.zip",
"size": 13846814,
"unpack": true,
"visibility": "public"
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "3f4c11d8003278b5b13ad3f2ed1adaf2a33e0b645844202d8371ee669e00d36f0ae09814ffda3632011bd47e8202cc8ef23757e5d72a6d05a37a49a1ad59413e",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-facebook.zip"
"filename": "mitm4-linux-firefox-facebook.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "588dc72d7e853e7b3bf51858b1e48445b70564a24e245bd361075ac83e64d65593fdbc87831fd4ea02805cb0442af754178c6011475fb0a6d4a61001fe76523a",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-fandom.zip"
"filename": "mitm4-linux-firefox-fandom.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "5bad8693dbef7cc12ec1a735f80596158948cdc18e522100562e32ed7a286e95909cf8275fac2d46ebf4e9cc84b3c28e59e78973d4282613c5aad60a2a3892ad",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-google-docs.zip"
"filename": "mitm4-linux-firefox-google-docs.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "e4bf46d3676e0a9b101ef942f97186258289e448c85c9ba296c7faec3e00581a4da9bf35f75b4124cecb69e4933f19f37412688812dfd68cc625b18ccd8a05ae",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-google-mail.zip"
"filename": "mitm4-linux-firefox-google-mail.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "45ee7d7f4af86c32edfe1fc57f6a5fd6478209409dd244bd8349dbad5e538061b6f94093c89520e0bffb77ac5d628c7ae60cb50428d3130192db9f8ac895c2a7",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-google-search.zip"
"filename": "mitm4-linux-firefox-google-search.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "904dfb7b604875e196c46ce5677f2ca419ddf2804f3575b8fd6ca49bd47cc066e298d123023a0b254c59f473507bdafef46cbb21b2f0592ec3780c40bb5d7dca",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-google-sheets.zip"
"filename": "mitm4-linux-firefox-google-sheets.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "af4b0c9985dec29b9d54e765771546161fb770a2573be7a287f2fb29dddc1a9e85765810cffd79d585952d71d6e5d45a6ca13ffdad2b4271c79ac569ea2f7704",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-google-slides.zip"
"filename": "mitm4-linux-firefox-google-slides.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "f44c735e5b69f6f17c55dd98b5af3a762ecb4e27acd79673f05704617da9f0e8bd6d4f657223ebcdb0b5cdcbe62dd40646cbd1d173aaaa1b6332bc8397aae2bb",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-imdb.zip"
"filename": "mitm4-linux-firefox-imdb.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "a04d8141c28abde302cc8c2329e71e9d38ca6f1458f0e38161b94c17400b80900329ef26230552339ffbc93df497b4fe3feda90226fb08215031f880fc76ad51",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-imgur.zip"
"filename": "mitm4-linux-firefox-imgur.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "62f980b5f1a1d6f896667ae5480d9637bd7dd2c059abc8a449c7212cded3a5078450c804c50c65fa6328eeadd4edd04536b4a9be0bc634f8d538c088c1410684",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-instagram.zip"
"filename": "mitm4-linux-firefox-instagram.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "bd3831953cdefc26c28e298830c4ccc14fcbfb1e42b190ddfb4dd75c96a5fc946c9560c4411bf232b1e4046347258c1bfe43db88b461e8a1b9de5a8cbfe50c9c",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-linkedin.zip"
"filename": "mitm4-linux-firefox-linkedin.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "af40b89006f6e457f0c6afa7e20fe176181de8ddf0c11c76dc4b5b1c8bbfb74a2bd0214a76c5d5f6a73b74637641bb01ff77e6abdb5fba6833b2d6af225a83c2",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-microsoft.zip"
"filename": "mitm4-linux-firefox-microsoft.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "24236b7cb2b6f5656fa87173b887801dd3ee1a6dd43d9cabf055735813aaf3975ac1daf743f3dd281c4d0f93fa32900377b17f3711e38b32d90f7271b3f118c1",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-netflix.zip"
"filename": "mitm4-linux-firefox-netflix.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "3582326ba319f583f86480176bfc039d9b252374acc3b19f215dedb284340ee161e0fb890e4b90d9f29da56b5448044edc5247661a9ebadccfecb03340ee4249",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-office.zip"
"filename": "mitm4-linux-firefox-office.zip",
"unpack": true
}
]

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-linux-firefox-live.zip",
"unpack": true,
"digest": "85a7664be168bbc16a5affcd6597b896154244712f143bc4c3ac8eda82e2275991bfd13cb09ecc6689db33fdb7947b911ff2441c5d1e9c038586947a9d8cb27d",
"size": 22873466
}

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "37dfef70b9fd8f9038084fc35878f82f67b8a96ca35b1d9d899813a87df513a591a92aa0e20017d40ea2de91b4b409a191eaa872680335bf67bae492705996ea",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-paypal.zip"
"filename": "mitm4-linux-firefox-paypal.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "92dcecc7a3862b3e6ef1ec5e6c025726d81e4b7ef2107043c64bf342a1ab6dd9d4f4db301f6b563d0ac64a530faa954c4f1f877fb593a2cf800734f71c58d07d",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-pinterest.zip"
"filename": "mitm4-linux-firefox-pinterest.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,7 +4,8 @@
"visibility": "public",
"digest": "7c90d685d5a0e3e4a50e16747255ebed66718e527aaf63f13c7d1b5ad6d2d158ebc90bf8736d66617d9a59ede6ff9bd6cca3ee6f016045d20203750c4980ed79",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-reddit.zip"
"filename": "mitm4-linux-firefox-reddit.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "2829c998c429ee03113473bb21f09f6d7b2fdaa199a009fac20cc8ebd073b2379ff7b15b286fac26ce7536967be31bb54451a582f9163bb29869cb8e43f8c9c3",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-tumblr.zip"
"filename": "mitm4-linux-firefox-tumblr.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "aeac3c3689c0ac7e6993025f51c89750e90a6084680d0c15d63e21b96739484c960ecd3bf34d30949d60aa8edf88862394786fe9499f2d68b46055373723f388",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-twitch.zip"
"filename": "mitm4-linux-firefox-twitch.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "51c3068ed8061baec1c826634d66b2db6daf35f0fb3984b9bbbdfa7c6681f59532ac1ba797de6bb123a2f0caba5caf2a7c5b2690685de82d43269450da5b7477",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-twitter.zip"
"filename": "mitm4-linux-firefox-twitter.zip",
"unpack": true
}
]

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-linux-firefox-wikipedia.zip",
"unpack": true,
"digest": "9d975e449ccf646bee9ab4026a555673a5e1c4b55c2e47446e6c147e811f4caf71f436537977bee18b729c203231984c758706df9696bc4589a1fffc866db295",
"size": 4223312
}

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "def5d6c77d083a841a5ca203f453590c862b88205b68b3e623e2f0a5223e3afd15e275b6cf950ec135be20dc9615caddb032a5538819f56395e6058d7b03ba71",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-yahoo-mail.zip"
"filename": "mitm4-linux-firefox-yahoo-mail.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,7 +4,8 @@
"visibility": "public",
"digest": "2b13c1211704d5b1f9ff5a450c6dd07b5d312a4497d69a1b408759c8ba9f8dda821f0b7d975d00d5ebbde0f9517c4a5f002489aa2127300e29db1610948321e4",
"algorithm": "sha512",
"filename": "mitmproxy-tp6-yahoo-news.zip"
"filename": "mitmproxy-tp6-yahoo-news.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "628d7026ff9d45592342300df326be7126fbfa300a0664cac8d789ac58b4f90c13b73502029d932120413d9957fef4fa2d5ff2971c2c2acd6ab3c2c4c5e67bcf",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-yandex.zip"
"filename": "mitm4-linux-firefox-yandex.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "eaca3d7f82de7e48332342db5ac18620d76f0568fa553c3ae12b631b35763e29eaee487f2c17179b987ffe192e01da6fae89f7f88f0e6adfb31a2b081a66e3c6",
"algorithm": "sha512",
"filename": "mitm4-linux-firefox-youtube.zip"
"filename": "mitm4-linux-firefox-youtube.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"digest": "5531517263cc19ca1fa4528ecd090e23e2014d72d0629f9e55483dc6c18dc0a9e88cf77ee456c8895cdd22e1bd018577fad5c884196b8b09e248e0da4c705d35",
"filename": "mitm4-pixel2-fennec-allrecipes.zip",
"size": 11321993,
"unpack": true,
"visibility": "public"
}
]

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-amazon-search.zip",
"unpack": true,
"digest": "959ccc5e79820e868da46997b66eb210d9f78c47019e43a57e09b5014c107141ff2f5df03bc21d1f3d98eec37b228937aa79850c45918df14992c00254d77835",
"size": 4873181
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-amazon.zip",
"unpack": true,
"digest": "83cdae1e85faa2572290adaf494fa48cde6168b1c1c8e5f1b94e637816137192cd69f9fa6ec42aed2ef90afccae00513b8f53b7d6dd64fb679900580d472b977",
"size": 9798703
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-bbc.zip",
"unpack": true,
"digest": "2dbbde8d408c28121b04b9a0696e4dd7c7020d3cef9c2a947563c3dacea4f930f9a8248c5c2b440d86265bb64720453abd88e64825f4a9848b987e1992bb2bc2",
"size": 4399751
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-bing-search-restaurants.zip",
"unpack": true,
"digest": "5c75e4c46fb87228e765533369b135ea8db95b82f89832188020ab269a13d50cf2b18f03fd50274ea62b75a668261a04bb54ffcc34e01aa726ab77e87cb2a7de",
"size": 1604671
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-bing.zip",
"unpack": true,
"digest": "f60102768dd8e0038961edfe1d067156b2fd66988674315571d351bffd4b2db93a51c36045adb51b307620372c87526d4b25ea051cfe61d6de5d28e1d674cda9",
"size": 3848399
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-booking.zip",
"unpack": true,
"digest": "03ecc52c7c747f8c59e634799caea52eac209b61eba6416804d98fe9277ec9805ef0263b074579a8a5ab0c0c78e288be400e66f241c0036b551167955df2043b",
"size": 4339703
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-cnn-ampstories.zip",
"unpack": true,
"digest": "af3c79a2988d8fbddd1fac1dda26d2cd08a16754ea85bcb84807baa8f7c0badfa7089e985beca950af8e046c6b7886186e7041e4bbc2503d0203ae22d4a0dcdb",
"size": 4274865
}

Просмотреть файл

@ -4,6 +4,7 @@
"digest": "4fe25fdcd8723ac3ec6a256d7f5bc3579328ae5b10be38d180334c95ca2ead7a87c6fa4340a09e570b97b029bea9b9ace9f95ee974da99ddfe34a4ab126d4412",
"filename": "mitm4-pixel2-fennec-cnn.zip",
"size": 14748578,
"unpack": true,
"visibility": "public"
}
]

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-ebay-kleinanzeigen-search.zip",
"unpack": true,
"digest": "6d1f07518941b108b3f4e02b02e5c634bb4a9f4014d49c0c36c24084fa9f2d045b2bc9291d665573dacbdc18c037e79bc5bb2e3a5f6123bd267d6266946d5277",
"size": 2891192
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-ebay-kleinanzeigen.zip",
"unpack": true,
"digest": "3a054064771eb444cd3380598653d188af4d657f210074e6923f068da8852ab927a5830fe62a5734d3a2d9aaa87811b5c05f1500a55b3b5946f04a70b20eaf79",
"size": 3717415
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-espn.zip",
"unpack": true,
"digest": "d8f90b1e0c979e2d8fa3b998b3e06d2fdd4d61e5cef6e35c17fa0f30600d17303f8c768ca2e11015a78a602e117f50a9b99f46d3c364bb1bd72fffbf13635532",
"size": 9064702
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-facebook-cristiano.zip",
"unpack": true,
"digest": "99eb17d2e0f5871a25d15fef808db1b789a47ba215c72805bbd92cec9b32e2cfc061583df60d6caa59a76518407aa6b6111a9b558a54a5227c51f298cb2eaf1c",
"size": 3253878
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-facebook.zip",
"unpack": true,
"digest": "21d0d69fb3d550a72e41859f9bba73cc95e9f02ff94af2ec934e3d3b38f6e976785cc9056731c8b887138ec1e33eca53379be88e3f2dee0d58e0855534107fcd",
"size": 4191442
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-google-maps.zip",
"unpack": true,
"digest": "8373321f9e2d10ec4c9b2e0952184e06a412f7961f4b767d96054c7af664f321f1f3cc1ba499b8506f9bbcd68e5cf23e19cdf39b8917b6e2039910cb1d8660dd",
"size": 6257213
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-google-search-restaurants.zip",
"unpack": true,
"digest": "0c7d3d29e0db81a8860a264768d4c79b22e7f09fe565d53ec0b98ae23b433fb82408719dbcadbc441818c1f17292e39d7669fc5a9e5338e84470ed135136a376",
"size": 4148631
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-google.zip",
"unpack": true,
"digest": "5bcc4e07d9226acf533bfc94de9e0eb15e7a5f279df6be706eab63f652d9eeec88c85cf6a9040321e40637c0385554a1ffefe5385068218f722eb594133391ea",
"size": 3653167
}

Просмотреть файл

@ -4,6 +4,7 @@
"digest": "cc027d912f608251f26facf6f33da69f9755af17394f33186251be861772aedc312c805eaf4ed5aa948ab046844e637705175ddfbe966ad630e03892210376ca",
"filename": "mitm4-pixel2-fennec-imdb.zip",
"size": 9309311,
"unpack": true,
"visibility": "public"
}
]

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-instagram.zip",
"unpack": true,
"digest": "e3c1870bc833e7a764dc96ba89d08a9800ae7f246c0a1a3851e568102faaf3628b059877d8db155fe872fa5be97119229353e43501e8074276f30685e7d016ff",
"size": 8882207
}

Просмотреть файл

@ -4,6 +4,7 @@
"digest": "83c6c843cf03c98db5fceb11051643b955c881c1226578697f37b5066f889ac3c090dfd86d298bd11391b47d904ace59b17f7d0fbe4249b8249bf317a2721a90",
"filename": "mitm4-pixel2-fennec-jianshu.zip",
"size": 10055373,
"unpack": true,
"visibility": "public"
}
]

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-microsoft-support.zip",
"unpack": true,
"digest": "cda8c0dc7231267225894fdb87c1d9cc43c3b9aa008946f774708399fa6ceb4c61b59b3e1971474a1c397397e20f7f9ac952fa9d1359bb51c80e3bac75314b4f",
"size": 2822453
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-reddit.zip",
"unpack": true,
"digest": "2ca1b004911121d8758ca50c4de40be3fefa087399f392731dc0476c6ff5e1c2becda3fa39bff28eebd83f05c17c0e808fc1ee0e3124d05cd3ab6ecd8cdfc4fb",
"size": 3735532
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-stackoverflow.zip",
"unpack": true,
"digest": "a1989594a81cd133b90e38588730730bb24df3bf9f48904d27b5b2d473dc9d1cb998200b9f545b90b9abc80e95ca0360c57a649da4bc78f607bbfda8e4c47b2f",
"size": 1972637
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-web-de.zip",
"unpack": true,
"digest": "03c87511cb9ffb7bcfc9db92565c7ab478edbcb23e94e78f5fec03bd7debe2c0521665ea82e22118e07107a584716f984103e3ed671c9efcdb0ea1f190d6c474",
"size": 3487482
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-wikipedia.zip",
"unpack": true,
"digest": "1c1f70cad460e712e4cc29818659d011f5dfe7c6db85e5afee72717ab4ca4f2341e642e473bb29cd06d0f951f5c3b5fc2c7d3b1fb2ab31db1b804ec47a5893aa",
"size": 1763263
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-youtube-watch.zip",
"unpack": true,
"digest": "89d27ebccdceb5c18a518863c8c236d604ab178dadf5065aefedce7da4138e0f4cc10099f1adbae391c8800c0a487df9ceec8a6f8e0f4798b21c629cf0a70950",
"size": 4412413
}

Просмотреть файл

@ -3,6 +3,7 @@
"algorithm": "sha512",
"visibility": "public",
"filename": "mitm4-pixel2-fennec-youtube.zip",
"unpack": true,
"digest": "6bca1f1b1a4b275807a2b92959150b2c867ca84ca69254b9d6da73ad6dd6ab16b5790c0158753536772ed5d5ec4542e91c2201676e6615b40fdede3fb5fec39e",
"size": 4342877
}

Просмотреть файл

@ -4,6 +4,7 @@
"digest": "d801dc23873ef5fac668aa58fa948f5de0d9f3ccc53d6773fb5a137515bd04e72cc8c0c7975c6e1fc19c72b3d721effb5432fce78b0ca6f3a90f2d6467ee5b68",
"filename": "mitm5-linux-firefox-amazon.zip",
"size": 6588776,
"unpack": true,
"visibility": "public"
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "0fa5275dedd1d3653d7bbdb8d17ab90f07d80b7ed721f7ac51c91b602585aaf291e41a7f62a310b0ac9dab03ad07d9734eaaef2ca906382e638febcb80920e04",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-apple.zip"
"filename": "mitm5-linux-firefox-apple.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "5ab1a9e1c7c4d5925bdac9e87123ec0aaeee477d0b2e910d37ba0df70f6c8278688910584b2874d19d8f360af14b6b37ac707012d6b8969a1877c64fed233489",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-bing-search.zip"
"filename": "mitm5-linux-firefox-bing-search.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "f41a3be375159e94933d958abea4154db9586325d72b10cea3d0aec17a7e934c73c64a4fd3f5ff4d322489cea094e2f6ae4c88f88cbe0cefbdc88c9451c3de11",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-ebay.zip"
"filename": "mitm5-linux-firefox-ebay.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "398e9f8cedb2887da29f5a7bc761330c21635bd484e4fa17178a9f53eb3de2ab7a167bb9c11f888c0799f8993fce44471c1947111fa24890289333579c6bd194",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-facebook-redesign.zip"
"filename": "mitm5-linux-firefox-facebook-redesign.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "bd64f7015e3b1bd4f13677201be06629e2f7ec8c38508ca4a751ffbbae6600b5a1e1f9ce0bd099cb2c01fde8e8bd6f92476dbe524e89d3db1bcb65fd505f4611",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-facebook.zip"
"filename": "mitm5-linux-firefox-facebook.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "3faf88b190c58b5988d1b7ecbfd7cac7d9cabbed7b07badb732e88d320ac8b9262a1aec67022cc0c5dd8ccfbb6a3f8d0e208a1e5d4426ec143b2dafc0b616346",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-fandom.zip"
"filename": "mitm5-linux-firefox-fandom.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "996586f9e20cface8337be4b8c6d4fdd6515c25efb58b5dfeb52c73d4d748b4580de58d8119f60fde393c59a53b6e8dded024d67e4b73f60aa71937a6b12aafb",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-google-docs.zip"
"filename": "mitm5-linux-firefox-google-docs.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "22b289c5a054413baa8fe5df047abd430b82a4275882c6247822fa437d3c59516e66dea1deaa01f2568adccf83b3975d75f34a3081dfc92a3d9a4ab54530f1c9",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-google-mail.zip"
"filename": "mitm5-linux-firefox-google-mail.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "ad5e9b0a201eded3fa06ce2d646e9cbb774fbe29c236766aaad6d60fe588cade6a02a393493fd9c953910da4a511dd992d18f432ccba55a89f1a5f2d3b10cb3a",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-google-search.zip"
"filename": "mitm5-linux-firefox-google-search.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "4815bf3afd98d806453aa1fe78eefe310ce9a54045f7a35cb32ba0783c823f8047ff3e82606c1e16a517ec3413b30ba06fbc31e8e552a25f0864cf92862d0ddd",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-google-sheets.zip"
"filename": "mitm5-linux-firefox-google-sheets.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,7 +4,8 @@
"visibility": "public",
"digest": "f6b099a40b6db5a3fb44c468ce763b294920c6e72473b1c566290bee204c3cc4ffdd8a1ba7f4f2119acef27e406f316c121ffbc33012645b1e47e51d933d1760",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-google-slides.zip"
"filename": "mitm5-linux-firefox-google-slides.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "2ea8757271b162713fdd400f68858dc4e9c03a6572edda591af6dbc2927a8efa47c0b9a86de51dd4d19b0bc0d3b7c14ddbe55e37a9e6cdc45b12b3f6479f43bb",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-imdb.zip"
"filename": "mitm5-linux-firefox-imdb.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "7042a13b62e5136d36b9da25aeaa3e7f9c4af2eacbe652eced9a1b80bede9d45f1d49b69c99846a551849c8026cf72996d0eb98c331e4e417043f7298321c637",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-imgur.zip"
"filename": "mitm5-linux-firefox-imgur.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "2be95e5707cba6c40c46546a4d3dadaf3d69780d5aa1c457948d85973a65da729b4aceb6bfcce26e74ba7a513e00404b345375889cc21a0f89d42a47ad977c1b",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-instagram.zip"
"filename": "mitm5-linux-firefox-instagram.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "f007a12f22b2927c9d5a2a4820cbd37ac62c36a6225d11297b4078265d43ed4c2ca8318a3ae8b40452be6c713f6afb0cdadae522723289d4e88d8c51170cdaa6",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-linkedin.zip"
"filename": "mitm5-linux-firefox-linkedin.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"digest": "36cd7c235b116a39a11082fe14b89434aace368cc7304654852e2f077ac9b024f7c663ff6f81c5012aca4fcf04d4b0f96e5abd1d5bb3f3a1f7ae0113ddf75c01",
"filename": "mitm5-linux-firefox-live-office.zip",
"size": 11077445,
"unpack": true,
"visibility": "public"
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "5c892f7b1630a9d34a682ebee3d7564bbf9ce2295a290af8e423187b0f0e2c52dabf9b640114f7920367fbab9ed0bb92fc30f3c2b43df63ce08e63dae9b23a63",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-live.zip"
"filename": "mitm5-linux-firefox-live.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "235d264832d0ad181a59b6c39db8dc401fd1d287fcc0cd677f38a9e404da3d4ecbe1bfea8a01c6bf653402976b86037a04514e2a5a5b11e4370feecd147994f2",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-microsoft.zip"
"filename": "mitm5-linux-firefox-microsoft.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,7 +4,8 @@
"visibility": "public",
"digest": "0c28c65094e784840ca258e07a49001370fcf5cb1fad65e054e9e795ad852648379d5a73a7a0142f1a9e10c30b615fed788dea411bf79c4926dd039dade33212",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-netflix.zip"
"filename": "mitm5-linux-firefox-netflix.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "531f4ec6c3c475c4d14d198abc3bd8a02181a4759477714b3f30d4b97cf25065ccb6e373d78ec7b9549d1cdd410a94af7112701c2a6cdcb53bf8a24be2996144",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-paypal.zip"
"filename": "mitm5-linux-firefox-paypal.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "b63c6a28c715599630bc8786a382837c88b20621cc86a31cb8d28b1ef414f7d3492ae291b0b45165febfee43f487e9ef0be39d5cd24ab91f153839a065c0ba43",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-pinterest.zip"
"filename": "mitm5-linux-firefox-pinterest.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "05056a163e3d4d444e398d817de4d722e0c01b7e7da41ab73d6079bfddef5b000613c7e95af737286f20df63eb38f3a94ed6ff171e288cdaf5d156955eeb57cb",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-reddit.zip"
"filename": "mitm5-linux-firefox-reddit.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "56f094f91bf239ed1555b9c7aafcbe553ea524fa8c6eef5ee3030cf77949c13bab19e9cc002621c50a10d5405c2340eb9f37309ff7f1599da6bc15114d526808",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-tumblr.zip"
"filename": "mitm5-linux-firefox-tumblr.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "aae14f5e85217e14dd407cb93ab1eee160d67d406895edd639c6a9be860789f8d141408305456409dcadf7b927cb5b133e70504294f0a6cd90a6984e19c79be1",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-twitch.zip"
"filename": "mitm5-linux-firefox-twitch.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "af6ad361d2c027b48d72048d43b8fe7bed1efc307c9fdbb596b4e8e4f4c3247c1161bb21e888d2a4ca75f1a3ee47219c8289070f96ea7ab6e626d1d31f39bc75",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-twitter.zip"
"filename": "mitm5-linux-firefox-twitter.zip",
"unpack": true
}
]

Просмотреть файл

@ -4,6 +4,7 @@
"visibility": "public",
"digest": "f9cbdb3b217556ab1ef5ad44fc0d7f8b3239a15b79ad42dc3756603465bcc4d0e7390b16159246554c8c552b52fa4b94a23d2b127d692b66aa885c2328e25803",
"algorithm": "sha512",
"filename": "mitm5-linux-firefox-wikipedia.zip"
"filename": "mitm5-linux-firefox-wikipedia.zip",
"unpack": true
}
]

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше