valuable lava edited version!!

Started on the old forum in April 2012 · view the original in the archive · old links redirect here

25 replies · 2,530 views · started 14 years ago · 1 min read

TL;DR · summary of 25 replies
  • Rancheswap encountered database connection errors and needs to enable registration by setting correct values in xxxx_settings.
  • Arnage found the script messy and suggested using simpler names for permissions, as well as setting proper permissions as owner.
  • m4ster_v4 expressed concern about the script's structure and simplicity, questioning its value.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

11 participants
icedroplet1987 Senior · 258 posts #1

hello friends, i am sharing my script on which i used to work when i started here although i didnt had much clue about coding but i still managed to make it better with different and interesting features. i must say the coding is messy as i just kept editing and didnt removed useless codes but still you will find it valuable. just have a try. and about security, yeah its good with shell protection and even sql injection.

i hope this will surely help you all!! enjoy it!!

i had to stop working on it coz i was admit in NDDTC (gaziabad, u.p. ,India) for my deadly drug addiction. but i am over it now so felt to share it here.

i even expect hard comment from my dearest friends..

haha.

add this to .htaccess uploader and user gallery

<Files *.php>
deny from all
</Files>
<Files *.php.*>
deny from all
</Files>
<Files *.php.php.*>
deny from all
</Files>

Here is the working demo but please do not mess it up completely :d

Demo

Attachments: lava edit.rar
something else Fellow · 2,296 posts #2

I wonder what you did with image.gif 😛 lol

also noticed some of your scripts have huward wrote accross top of them is that you?

icedroplet1987 Senior · 258 posts #3

it was an useless folder, as i said i just kept making it work without errors. after i solved errors i worked on security then added functions. nah , huward.. he was a good friend but nowdays i dont see him around.

icedroplet1987 Senior · 258 posts #4

yeah, owner tools and few more are in wml as didnt converted them coz as being owner these files were not there for public. i am sorry about not mentioning the perm. thanks to add.

and other thing, please use some wml browser plugin 🙂 i knew only you must be here with some good lines:) man, always respect you!! 🙂

icedroplet1987 Senior · 258 posts #6

well, thanks dear, but its the thing i started with n got learnt to code something but i just left everything that time i was really in my own shell:( but yeah, you will find it usefull for sure..

PLEASE friends, also apply ban on pages as lastly i remember used this script 1 year ago n didnt again gave a look to it. if anybofy facing anyother problem in it let me know.

'but do not make ur own problems. i think i worked OK on it. 😀 hav fun.

something else Fellow · 2,296 posts #7

I Love Lava`s IP ban .... completely pointless seeming you can bypass it lol

icedroplet1987 Senior · 258 posts #8

yup can be bypassed but its safe to have username ban and keep account activation function on. hope you got my point LOL :d

ozziemale31 Lead · 861 posts #9

re

icedroplet1987 wrote: hello friends, i am sharing my script on which i used to work when i started here although i didnt had much clue about coding but i still managed to make it better with different and interesting features. i must say the coding is messy as i just kept editing and didnt removed useless codes but still you will find it valuable. just have a try. and about security, yeah its good with shell protection and even sql injection.

i hope this will surely help you all!! enjoy it!!

i had to stop working on it coz i was admit in NDDTC (gaziabad, u.p. ,India) for my deadly drug addiction. but i am over it now so felt to share it here.

i even expect hard comment from my dearest friends..

haha.

add this to .htaccess uploader and user gallery

<Files *.php>
deny from all
</Files>
<Files *.php.*>
deny from all
</Files>
<Files *.php.php.*>
deny from all
</Files>

just noticed your uploader insecure theres 2 files in share folder that are obviously shell scripts renamed oh and all the get and posts not covered lol and insecure from browser injection but thanks for upload 🙂

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

**Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer.. Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free ***

slcash Developer · 75 posts #10

How to stop browser inject

arnage Lead · 811 posts #11

slcash wrote: How to stop browser inject

$browser = isset($_SERVER['HTTP_USER_AGENT']); // this is just one for this example
$browser = trim($browser); // remove new line
$browser = htmlentities($browser, ENT_QUOTES, 'UTF-8'); // convert html symbols into their entities including both quotes and force utf8 encoding
if (get_magic_quotes_gpc()) $browser = stripslashes($browser); // check if is magic quotes enabled and strip their slashes if is so the data wont be escaped twice
$browser = mysql_real_escape_string($browser); // escape it
<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
kruzada Junior · 20 posts #12

where to put this budz?in core or in config?

icedroplet1987 Senior · 258 posts #13

I did purposely uploaded that shell but not functional , just to check security with my .htaccess. It worked perfectly. And for post, i used string replacement. Not having clue about browser inject. But didnt got any security bug after apgrading sess. Hide, phpthumb, shell protection and sql injection protection with same string replacement. @ OZZIE 🙂

AND GUYS, PLEASE DO HIT THANKS IF YOU LIKED AND USING IT.

arnage Lead · 811 posts #14

kruzada wrote: where to put this budz?in core or in config?

This is explanation step by step how to block it, it wasn't for copy-paste, so you need to apply it where ever its needed.

icedroplet1987 wrote: I did purposely uploaded that shell but not functional , just to check security with my .htaccess. It worked perfectly. And for post, i used string replacement. Not having clue about browser inject. But didnt got any security bug after apgrading sess. Hide, phpthumb, shell protection and sql injection protection with same string replacement. @ OZZIE 🙂

AND GUYS, PLEASE DO HIT THANKS IF YOU LIKED AND USING IT.

Browsers are user input and needs to be sanitized like post texts. String replacements are useless simply because it can be encoded, and inefficient for posts because posters usually needs those chars to write their posts. 😉

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***
icedroplet1987 Senior · 258 posts #15

arnage wrote: Browsers are user input and needs to be sanitized like post texts. String replacements are useless simply because it can be encoded, and inefficient for posts because posters usually needs those chars to write their posts. ;)

YUP, BUT AS I TOLD EARLIER that i wasnt just started learning things so only string replacement was the easiest option for me. although it does affects the user"s posts. better, make it more usefull for users by coding with expert hands( you) . 🙂

but i did ok, didnt i?

rancheswap Junior · 21 posts #16

help im getting db error,, i already configure the 121configcustom121.php and config.php but still it gives me error. Connot connect to database? Whats wrong? And in regstratn, it give me , ip regstrtn disabled please. Could someone give idea how to fix those errors? Thanks,

slcash Developer · 75 posts #17

thank bro. . . .you are all ways help others i see that forum. . . . . . . Thank you agian arange , . . , . .

icedroplet1987 Senior · 258 posts #19

rancheswap wrote: help im getting db error,, i already configure the 121configcustom121.php and config.php but still it gives me error. Connot connect to database? Whats wrong? And in regstratn, it give me , ip regstrtn disabled please. Could someone give idea how to fix those errors? Thanks,

Properly fill the database details in 121configcustom.php

and add this sql.. keep sure REG row value must be to enable registrations in xxxx_settings table. and if you want to enable user validation then use value for vldtn row in xxxx_settings.

INSERT INTO `hfjgn_settings` (`id`, `name`, `value`) VALUES
(1, 'sesexp', '30'),
(2, 'Fri 21 Aug 2009 - 15:35', '17'),
(3, '4ummsg', ''),
(4, 'Counter', '24878'),
(5, 'pmaf', '5'),
(6, 'reg', '1'),
(7, 'fview', '1'),
(8, 'lastbpm', '2009-12-01'),
(9, 'siteage', '0'),
(10, 'vldtn', '0');

m4ster_v4 wrote: nice valuable script. Thank 4 share it.

thanks brother:)

arnage Lead · 811 posts #20

icedroplet1987 wrote: YUP, BUT AS I TOLD EARLIER that i wasnt just started learning things so only string replacement was the easiest option for me. although it does affects the user"s posts. better, make it more usefull for users by coding with expert hands( you) . 🙂

but i did ok, didnt i?

Im not an expert, far from it. 🙂 I don't know, didn't download it just have read posts.

slcash wrote: thank bro. . . .you are all ways help others i see that forum. . . . . . . Thank you agian arange , . . , . .

You're welcome.

<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close