Manage Free Image Hosts

Written by HostGeekZ


Continued from page 1
-rw-rw-rw- 1 nobody nobody 113142 Jun 8 11:49 DDS21.jpg -rw-rw-rw- 1 nobody nobody 115694 Jun 8 11:32 DDS22.jpg -rw-rw-rw- 1 nobody nobody 73786 Jun 8 11:35 DDS23.jpg -rw-rw-rw- 1 nobody nobody 90019 Jun 8 11:07 DDS24.jpg -rw-rw-rw- 1 nobody nobody 85559 Jun 8 11:08 DDS25.jpg -rw-rw-rw- 1 nobody nobody 90267 Jun 8 11:09 DDS26.jpg -rw-rw-rw- 1 nobody nobody 62937 Jun 8 11:10 DDS27.jpg -rw-rw-rw- 1 nobody nobody 110897 Jun 9 13:09 DDS28.jpg -rw-rw-rw- 1 nobody nobody 100796 Jun 9 13:56 DDS29.jpg -rw-rw-rw- 1 nobody nobody 117650 Jun 9 13:13 DDS2.jpg -rw-rw-rw- 1 nobody nobody 112640 Jun 8 11:48 DDS30.jpg -rw-rw-rw- 1 nobody nobody 83262 Jun 8 11:11 DDS31.jpg -rw-rw-rw- 1 nobody nobody 75244 Jun 8 11:38 DDS32.jpg -rw-rw-rw- 1 nobody nobody 59799 Jun 8 11:12 DDS33.jpg -rw-rw-rw- 1 nobody nobody 74584 Jun 9 13:11 DDS34.jpg -rw-rw-rw- 1 nobody nobody 69370 Jun 8 11:39 DDS35.jpg -rw-rw-rw- 1 nobody nobody 59303 Jun 9 13:53 DDS36.jpg -rw-rw-rw- 1 nobody nobody 59579 Jun 8 11:40 DDS37.jpg -rw-rw-rw- 1 nobody nobody 62455 Jun 8 11:13 DDS38.jpg -rw-rw-rw- 1 nobody nobody 73577 Jun 8 11:14 DDS39.jpg -rw-rw-rw- 1 nobody nobody 131005 Jun 8 11:00 DDS3.jpg -rw-rw-rw- 1 nobody nobody 58353 Jun 9 13:54 DDS40.jpg -rw-rw-rw- 1 nobody nobody 59911 Jun 8 11:37 DDS41.jpg -rw-rw-rw- 1 nobody nobody 97460 Jun 8 11:47 DDS42.jpg -rw-rw-rw- 1 nobody nobody 79794 Jun 8 11:36 DDS43.jpg -rw-rw-rw- 1 nobody nobody 59581 Jun 8 11:15 DDS44.jpg -rw-rw-rw- 1 nobody nobody 62545 Jun 8 11:56 DDS45.jpg -rw-rw-rw- 1 nobody nobody 65845 Jun 8 11:16 DDS46.jpg -rw-rw-rw- 1 nobody nobody 79255 Jun 8 11:17 DDS47.jpg -rw-rw-rw- 1 nobody nobody 63742 Jun 8 11:19 DDS48.jpg -rw-rw-rw- 1 nobody nobody 58574 Jun 8 11:46 DDS49.jpg -rw-rw-rw- 1 nobody nobody 91315 Jun 8 11:28 DDS4.jpg -rw-rw-rw- 1 nobody nobody 54508 Jun 8 11:41 DDS50.jpg -rw-rw-rw- 1 nobody nobody 69161 Jun 9 13:49 DDS51.jpg -rw-rw-rw- 1 nobody nobody 55934 Jun 9 13:53 DDS52.jpg -rw-rw-rw- 1 nobody nobody 65362 Jun 8 11:42 DDS53.jpg -rw-rw-rw- 1 nobody nobody 63869 Jun 8 11:44 DDS54.jpg -rw-rw-rw- 1 nobody nobody 55224 Jun 9 13:11 DDS55.jpg -rw-rw-rw- 1 nobody nobody 57968 Jun 9 13:46 DDS56.jpg -rw-rw-rw- 1 nobody nobody 64196 Jun 9 13:52 DDS57.jpg -rw-rw-rw- 1 nobody nobody 60958 Jun 9 13:10 DDS58.jpg -rw-rw-rw- 1 nobody nobody 72166 Jun 9 13:50 DDS59.jpg -rw-rw-rw- 1 nobody nobody 70411 Jun 8 11:58 DDS5.jpg -rw-rw-rw- 1 nobody nobody 67154 Jun 9 13:48 DDS60.jpg -rw-rw-rw- 1 nobody nobody 61261 Jun 8 11:20 DDS61.jpg -rw-rw-rw- 1 nobody nobody 70026 Jun 8 11:45 DDS62.jpg -rw-rw-rw- 1 nobody nobody 61694 Jun 8 11:55 DDS63.jpg -rw-rw-rw- 1 nobody nobody 56991 Jun 8 11:46 DDS64.jpg -rw-rw-rw- 1 nobody nobody 81813 Jun 8 11:21 DDS65.jpg -rw-rw-rw- 1 nobody nobody 69012 Jun 8 11:26 DDS66.jpg -rw-rw-rw- 1 nobody nobody 67735 Jun 9 13:44 DDS67.jpg -rw-rw-rw- 1 nobody nobody 100698 Jun 8 11:01 DDS6.jpg -rw-rw-rw- 1 nobody nobody 62545 Jun 9 13:03 DDS71.jpg -rw-rw-rw- 1 nobody nobody 151096 Jun 9 13:05 DDS72.jpg -rw-rw-rw- 1 nobody nobody 79372 Jun 8 11:30 DDS7.jpg -rw-rw-rw- 1 nobody nobody 99982 Jun 9 13:08 DDS8.jpg -rw-rw-rw- 1 nobody nobody 74809 Jun 8 11:03 DDS9.jpg

As you see there are lots of offending images, lets just go ahead and remove them all.

rm -rf DDS*.jpg

They should now all be gone.

root@server [/Uploads/Images]# rm -rf DDS*.jpg root@server [/Uploads/Images]# ls -al | grep DDS

As you see it returns nothing. Now time to add this forum to our "block list", I personally use mod_rewrite.

So in our .htaccess we just add RewriteEngine on RewriteCond %{HTTP_REFERER} ^http://(.*)fmforums.co.uk(.*) RewriteRule ^.*$ - [L,F]

--

To add multiple urls, ie to ban 6park.com which causes alot of problems we just add [OR]

RewriteEngine on RewriteCond %{HTTP_REFERER} ^http://(.*)fmforums.co.uk(.*) [OR] RewriteCond %{HTTP_REFERER} ^http://(.*)6park.com(.*) RewriteRule ^.*$ - [L,F]

----------------------

Well I hope this helps, you will just have to repeatrepparttar process for all offending images. This will mainly find adult boards, because this isrepparttar 145166 format they post in.

www.hostgeekz.com - cPanel Tutorials, webhosting made easy, security guides, webhosting forums,webhosting chat,webhosting news, webhosting guides.


Setting up an IRC+cPanel box with freeBSD

Written by Scott Mcintyre


Continued from page 1

Now we know account creation works, we can go on with setting uprepparttar server.

Well what I done was first configure SSHD. Please remember this is just how to setuprepparttar 145165 server as a basic server on freeBSD,

to really secure it you should read a freeBSD security guide.

Since im more of a pico guy, dont ask I have to install that first.

/>

Lets install it with

-------------------------------------------------------------------------------- cd /usr/ports/editors/pico && make && make install --------------------------------------------------------------------------------

even when i typed pico i got command not found so you have to type rehash

anyway lets continue, edit sshd config and addrepparttar 145166 following

-------------------------------------------------------------------------------- pico /etc/ssh/sshd_config Port 22 Protocol 2 SyslogFacility AUTH LogLevel INFO --------------------------------------------------------------------------------

--

Of course that is not all, but you getrepparttar 145167 idea, disable direct root login, forwarding, and so on.

Now its time to install oidentd, this is to use an ident on irc servers.

-------------------------------------------------------------------------------- mkdir /root/scott cd /root/scott wget

target="_blank">http://umn.dl.sourceforge.net/sourc...td-2.0.7.tar.gz tar -zxvf oidentd-2.0.7.tar.gz rm -rf oidentd-2.0.7.tar.gz cd oidentd-2.0.7 ./configure make make install --------------------------------------------------------------------------------

Now create a user for oidentd and disable shell access.

adduser

then go threwrepparttar 145168 settings.

for shell make sure you set nologin

Shell (sh csh tcsh bash bash jailshell noshell ftpsh nologin) [sh]: nologin

Make sure you set a secure password, ie zUaxe^xXalvYtBPlTo]ZP]iayFIsq

--

Now createrepparttar 145169 config

--------------------------------------------------------------------------------pico /etc/oidentd.conf--------------------------------------------------------------------------------

/>

and put

--------------------------------------------------------------------------------# Configuration for oidentd # see oidentd.conf(5) # default { default { allow spoof allow spoof_all allow spoof_privport allow random allow random_numeric allow numeric allow hide } } --------------------------------------------------------------------------------

in it.

Now just start oidentd, please note you will have to changerepparttar 145170 config to sure yourself, such as spoofing.

-------------------------------------------------------------------------------- /usr/local/sbin/oidentd -u oidentd -g oidentd --------------------------------------------------------------------------------

Oidentd should now be installed. All you have to do now is add users and set what shell access they have. I personally set

bash for each but I set permissions so they cannot access things they should not.

IE

chmod -R 770 /home/*

Then set permissions on binaries, and so on. Personally, I made a quick wget script, so maybe you can impliment it too.

First lets moverepparttar 145171 old binary to a random name, i choose ekigrowbwo

--------------------------------------------------------------------------------cd /usr/local/bin mv wget ekigrowbwo pico /usr/local/bin/wget --------------------------------------------------------------------------------

and put this in it.

-------------------------------------------------------------------------------- #!/bin/bash ME=`whoami` TIME=`date` DIR=`pwd` echo "$TIME - $ME - $1 - >> $DIR" >> /usr/local/bin/wget.log /usr/local/bin/ekigrowbwo $1 --------------------------------------------------------------------------------

you better createrepparttar 145172 wget.log

-------------------------------------------------------------------------------- touch /usr/local/bin/wget.log --------------------------------------------------------------------------------

It will then log inrepparttar 145173 format,

time - user - what they downloaded - >> where it was saved.

Just repeat that process for fetch and so on, so it logs them all.

Well that is pretty muchrepparttar 145174 server setup. This isn't really a main guide, it shows you how to setup cpanel on freebsd,

setup a basic irc server, although you still have a bit to do. It should get you on your way though.

--------------------------------------

UPDATE

I had problems with mysql, mainlyrepparttar 145175 mysql server, I fixed this by using.

-------------------------------------------------------------------------------- cd /usr/ports/databases/mysql40-server && make && make install /scripts/fixmysql --------------------------------------------------------------------------------

Any other bugs feel free to reply, I will post as I find them. other than that, so far cPanel seems to be working well, even

though I dont recommend using it for an irc server.

www.HostGeekZ.com - cPanel Tutorials , security guides, webhosting made easy. Latest WebHosting News, webhosting forums.


    <Back to Page 1
 
ImproveHomeLife.com © 2005
Terms of Use