WordPress.org

Ready to get started?Download WordPress

Forums

Base64 encrypted code (6 posts)

  1. Fab_DM
    Member
    Posted 2 years ago #

    Hello,

    i have found this on a WordPress theme but can't decode it and see what is all about.
    Can anyone help me to see what's inside? Can i delete it?

    Thanks

    if(BLOCK_EXTERNAL_LEECHERS && array_key_exists('HTTP_REFERER', $_SERVER) && (! preg_match('/^https?:\/\/(?:www\.)?' . $this->myHost . '(?:$|\/)/i', $_SERVER['HTTP_REFERER']))){
    // base64 encoded red image that says 'no hotlinkers'
    // nothing to worry about! :)
    $imgData = base64_decode("R0lGODlhUAAMAIAAAP8AAP///yH5BAAHAP8ALAAAAABQAAwAAAJpjI+py+0Po5y0OgAMjjv01YUZ\nOGplhWXfNa6JCLnWkXplrcBmW+spbwvaVr/cDyg7IoFC2KbYVC2NQ5MQ4ZNao9Ynzjl9ScNYpneb\nDULB3RP6JuPuaGfuuV4fumf8PuvqFyhYtjdoeFgAADs=");

  2. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 2 years ago #

    What is the name of the theme & where did you download it from?
    What file is that code in?

    It looks like it *should be* a base64 encoded image rather than text.

  3. Fab_DM
    Member
    Posted 2 years ago #

    I bought it from fiverr, the guy is a reseller, or he says so.

    It's called Portio.

    So you are saying that should do be anything dangerous? I heard that base64 encrypted codes are dangerous, what do you think?

    thanks

  4. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 2 years ago #

    the only WordPress theme called portio that I can find is one listed on themeforest for $37. If that's the same one and the person you bought it from really is a reseller, you should be able to get support from the original author. If not and you still want to use the theme, you should buy a copy from the original source and ask the theme author about the base64 stuff.

  5. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Or use an available and great FREE WP Theme.

  6. Fab_DM
    Member
    Posted 2 years ago #

    Thanks i will find out wheter he really is an authorized reseller and i will contact the theme author.

    Thanks for your help!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.