https://github.com/ytdl-org/youtube-dl
3. Run rtsp-simple-server (repo here)
docker run --rm -it -e RTSP_PROTOCOLS=tcp -p 8554:8554 -p 1935:1935 -p 8888:8888 aler9/rtsp-simple-server
https://github.com/ytdl-org/youtube-dl
rtsp-simple-server (repo here)docker run --rm -it -e RTSP_PROTOCOLS=tcp -p 8554:8554 -p 1935:1935 -p 8888:8888 aler9/rtsp-simple-server
| # Add this to your .zshrc or .bashrc | |
| # Use it by simply calling `heic2jpg pwd/picture1.heic pwd/picture2.heic pwd/picture3.heic` | |
| # Only compatible with macOS. You can also change line 21 to make it compatible with something else. | |
| # If you decide to delete source files, those will be in the bin, not deleted as with `rm` command. | |
| # You will need imagemagick bin to convert the pictures: `brew install imagemagick` | |
| heic_convert() { | |
| echo "Converting $# .HEIC files to .jpg" | |
| for var in "$@" |
This is not a tutorial, just a small guide to myself but feel free to get some infos here.
Working on an iPhone 7 running iOS 14.5.1
Jailbreak an iPhone/iPad/whatever
If necessary, you'll need to bypass Jailbreak detection for some apps with tweaks like A-Bypass, Hestia, HideJB, etc.
Get the PID of the app you want to capture traffic from with frida-ps -Ua ( a is for showing running apps only, you can -U to show all running processes instead)
| // ==UserScript== | |
| // @name AMD Button | |
| // @version 0.1 | |
| // @description YAY | |
| // @author AkdM | |
| // @match https://www.amd.com/*/direct-buy/* | |
| // @icon https://www.google.com/s2/favicons?domain=amd.com | |
| // @grant none | |
| // ==/UserScript== |
| javascript: (async function () { | |
| const t = (t) => (document.querySelector(".page-title").innerText = t); | |
| try { | |
| t("looking for product id..."); | |
| var e = (() => document.location.pathname.split("/").filter((t) => /\d{10}/.test(t))[0])(); | |
| t("adding to cart..."), await ((t) => fetch(`https://www.amd.com/en/direct-buy/add-to-cart/${t}`, { credentials: "include", method: "GET", mode: "cors", redirect: "error" }))(e), t("added to cart, fetching checkout URL..."); | |
| var a = await (async () => { | |
| var t = await fetch("https://www.amd.com/en/direct-buy/shopping-cart/modal?_wrapper_format=drupal_modal", { credentials: "include", method: "POST", mode: "cors" }); | |
| return (await t.text()).match(/\/.{2}\\\/direct-buy\\\/checkout\\\/payment\\\/\d*\\\/.{2}/)[0].replace(/\\/g, ""); | |
| })(); |
| # One line: | |
| TIMEFMT=$'real %E\tuser %U\tsys %S' && repeat 10 {time zsh -i -c exit} | |
| # Two lines: | |
| TIMEFMT=$'real %E\tuser %U\tsys %S' | |
| repeat 10 {time zsh -i -c exit} # or only this line if you don't mind the formatting |
| $dark-blue = #495057 // This is a dark blue. Instead of having black text, this blue is more pleasing and easier on the eyes | |
| $apple-red = #BD1E2E // Red used by Apple for their Apple (PRODUCT)RED™ products | |
| $ddg-red = #E0572A // Red used by DuckDuckGo | |
| $ddg-yellow = #FED400 // Yellow used by DuckDuckGo | |
| $ddg-green = #62BE3E // Green used by DuckDuckGo |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!-- Pure Theme v1.0.0 | |
| # | |
| # Copyright 2018, All rights reserved | |
| # | |
| # Code licensed under the MIT license | |
| # | |
| # @author Anthony Da Mota | |
| --> |
| .tabbrowser-tab[selected="true"] { | |
| width: 100%; | |
| visibility: visible; | |
| color: blue; | |
| } | |
| .tab-throbber[busy]::before { | |
| content: ""; | |
| position: absolute; | |
| background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAhOAAAITgBRZYxYAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAABtCSURBVHja7d19kF11fcdxd0kIiYnRISQIiIABUjBSE8oQEOIUUURtKBqeFFokaqA6oExpBzBjBitghU5bichTQTKoVSwQBMHiDIJg1FoIBWVQYYgGCAKxYEhCdtPv0bOddWVz7+7eh9/vnNcfrxlGycOc35nzebN7995XbNmy5RUAQL24CAAgAAAAAQAACAAAQAAAAAIAABAAAIAAAAAEAAAgAAAAAQC0xSEfe3pC2C3MC+8tzSv/twmuEQgAoBqDPyUcE64La8OWBtaW/27xa6a4hiAAgLyG/8jwzbChidEfzoby9zjSNQUBAKQ9/HPDd8Yw+sMpfs+5rjEIACCt4Z9efum+vw3jP6C//DOmu+YgAIDuj/+c8Hgbh3+o4s+a49qDAAC6N/7Hh/UdHP8BxZ95vDMAAQB0fvzP6cLwD3WOswABAHRu/BcmMP4DjnUmIACA9o//fuGFhAJgvdcEgAAA2jv+24dHExr/AavDDGcEAgBoTwBcnuD4D/iSMwIBALR+/PcJmxMOgL7wJmcFAgBobQCsSHj8B9zirEAAAK0b//kZjP+A+c4MBADQmgBYnlEALHdmIACAsY//+PBcRgFQ/F3HOzsQAMDYAuDwjMZ/wOHODgQAMLYAWJZhACxzdiAAgLEFwIMZBsCDzg4EADC2AFiXYQC |