Skip to content

Instantly share code, notes, and snippets.

View samundra's full-sized avatar
🔬
refine details

Samundra samundra

🔬
refine details
View GitHub Profile
#!/usr/bin/perl -T
use strict;
use warnings;
#
## Calomel.org ,:, Download Youtube videos and music using wget
## Script Name : youtube_wget_video.pl
## Version : 0.45
## Valid from : September 2014
#!/usr/bin/python
# Connects to servers vulnerable to CVE-2014-0160 and looks for cookies, specifically user sessions.
# Michael Davis (mike.philip.davis@gmail.com)
# Based almost entirely on the quick and dirty demonstration of CVE-2014-0160 by Jared Stafford (jspenguin@jspenguin.org)
# The author disclaims copyright to this source code.
import select
<?php
/**
* Saves remote image using Curl request
* @param string $img URL from which image is to be retrieved
* @param string $fullpath Full path to the image
* @param string $imageVerify Fullpath where image will be saved.
* @see http://stackoverflow.com/questions/10890617/grabbing-image-with-curl-php
*/
function saveImage($img, $fullpath = null, $imageVerify = true) {