Skip to content

This is a very simple and fast to get an image with spoofing referer.

License

Notifications You must be signed in to change notification settings

aalfiann/img-spoof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

img-spoof

Version Downloads License

This is a very simple and fast to get an image with spoofing referer.

Features

  • Spoofing Image Referer
    You are able to get a protected remote image by spoofing it.
  • Shared Proxy Cache
    A remote image is not downloaded but will be saved on client browser or proxy cache.
  • Firewall Request
    You are able to set this service to work on spesific domain only (protected from direct access).

Installation

  1. Install this package via Composer.

    composer create-project aalfiann/img-spoof [my-app-name]
    
  2. Upload to your server

  3. Done

Note:

  • See config.php to set firewall and adjust max-age for cache.

Query Parameter

  • url : URL Image target.
  • referer : Set the referer image. [optional]
  • mime : Set the mime type of image (ex: png). [optional]
  • v : Set the version to refresh cache. [optional]

Note:

  • Mime type will detect automatically if the url included extension.
  • jQuery Ajax cache: false will detected automatically.

Example

This will GET image with spoofing referer.
See example.html.

<html>
    <head>
    </head>
    <body>
        <img src="./index.php?referer=https://manganelo.com&url=https://s7.mkklcdnv7.com/mangakakalot/l2/love_parameter/chapter_112_qa/1.jpg">
    </body>
</html>

About

This is a very simple and fast to get an image with spoofing referer.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published