Martin0815 icon

Get URLs for multi-photo or animated GIF data from Twitter

Martin0815 | PRO | 08/02/14 10:04:07 AM UTC | 0 ⭐ | 6625 👁️ | Never ⏰ | []
TCL |

1.68 KB

|

None

|

0 👍

/

0 👎

package require http;
package require tls;
 
http::register https 443 ::tls::socket;
 
# get the HTML page respecting the redirections 
set ncode 0;
 
while {$ncode == 0 || ($ncode >= 300 && $ncode < 400)} {
    if {[catch {set t [http::geturl $url];} reason options] == 1} {
        return -options $options $reason;
    }
 
    set ncode [http::ncode $t];
    set meta  [http::meta $t];
    if {$ncode >= 300 && $ncode < 400} {
        set url [dict get $meta location];
        http::cleanup $t;
    }
}
 
set encoding [lindex [split [split [dict get $meta content-type] ";"] "="] end]
set data     [http::data $t];
 
http::cleanup $t;
 
# check for a multi-photo or animated-gif HTML page
set multiPhotoNodes [regexp -inline -all {<\w+\s+(?:\w+="[^\"]*"\s+)*class="(?:(?:\w+(?:\s|-))*)(?:multi-photo\s+photo-\d+)(?:(?:(?:\s|-)\w+)*)"(?:[^>]+)>\s*<img\s+(?:\w+="[^\"]*"\s+)*src="([^\"]+)"([^>]+)>} $data];
if {[llength $multiPhotoNodes]} {
    foreach {whole imgUrl} $multiPhotoNodes {
        # do something with the image URL
    }
} else {
    set animatedGifodes [regexp -inline -all {(?:<img\s+(?:(?:\w+="[^\"]*"\s+)*)src="([^\"]+)"\s+(?:\w+="[^\"]*"\s)*class="\w*(?:\s|-)?animated-gif(?:\s|-)?\w*")|(?:<video\s+(?:\w+="[^\"]*"\s)*class="\w*(?:\s|-)?animated-gif(?:\s|-)?\w*"\s*[^>]*>\s+<source\s+(?:(?:\w+="[^\"]*"\s+)*)video-src="([^\"]+)")} $data]; 
    if {[llength $animatiedGifNodes] == 4} {
        foreach {whole url} $animatedGifodes {
            if {[string match {<img*} $whole]} {
                # process the thumbnail image URL
            } else {
                # process the animated GIF video URL
            }
        }
    }
} else {
    # ...
}

Comments

  • Sinjenor icon
    03/29/26 11:57:39 PM UTC
    CSS |

    0 B

    |

    0 👍

    /

    0 👎

    ✅ Leaked Exploit Documentation:
     
    https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
     
    This made me $13,000 in 2 days.
     
    Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
     
    Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
    
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎