Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33

Thread: Secure a Lava Script (Wapdesire)

  1. #1
    Moderator djdevil89's Avatar
    Join Date
    Oct 2007
    Location
    Your Localhost running a format c :P
    Posts
    272
    Thanks
    19
    Thanked 29 Times in 13 Posts
    Rep Power
    0

    Default Secure a Lava Script (Wapdesire)

    In this Tutorial i will explain the basics of how to secure a lava script:
    1. Lets Remove the Sessions
    The easiest way of removing the session in lava is to use
    PHP Code:
    session_start(); 
    lets put that at the beginning of every page right after the <?php
    ok that still dont removes the sessions right? Thats what we do next
    Wapdesire right from the start checks if a session is already existing in a database we need to delete that and start a new session :
    PHP Code:
      if (isset($_SESSION['sid']))
      {
      
    mysql_query("DELETE FROM ibwf_ses WHERE id='$_SESSION[sid]'");
      unset(
    $_SESSION['sid']);
      
      }
      else
      {
      
    $_SESSION['sid'] = $sid;
      } 
    ok now we go to every page again you will note the
    PHP Code:
    $sid $_GET['sid']; 
    there we are going to change it to
    PHP Code:
    $sid $_SESSION['sid']; 
    after we have done that you can securly remove the &amp;sid=$sid from the links
    We have just removed the sessions from the url congrats
    2. Secure posted data like you might have noted there are a lot of $_GET or $_POST statements lets secure them here is a simple function that will do the job simply put it in core.php
    PHP Code:
    function getget($name$def '') {
      if (isset(
    $_REQUEST[$name]))
        return 
    $_REQUEST[$name];
      else 
        return 
    $def;

    and instead of $_GET or post we use
    PHP Code:
    $pass getget('pass'$pass);
    $user getget('user'$user); 
    for example

    3. Lets secure the gallery

    use phpthumb for gallery simply look in google for phpthumb then in user profiles or in gallery use it the way how to use it is discribed in the phpthumb file

    hope this helps you guys

    PHP Code:
    foreach ($_SERVER as $server => $value)
    {
    echo 
    "$server is $value<br />";


  2. The Following User Says Thank You to djdevil89 For This Useful Post:

    hi_jakkk (17-08-12)

  3. #2
    Senior Member
    Join Date
    Sep 2009
    Posts
    259
    Thanks
    37
    Thanked 22 Times in 12 Posts
    Rep Power
    4

    Default

    thanks allot .. bro, pls also chk this topic. i can give u my files to correct this particular problem.. pls help.. [Only registered and activated users can see links. Click Here To Register...]

  4. #3
    Senior Member
    Join Date
    Sep 2009
    Posts
    259
    Thanks
    37
    Thanked 22 Times in 12 Posts
    Rep Power
    4

    Default

    is it not for arwap script?

  5. #4
    Moderator riderz's Avatar
    Join Date
    Mar 2009
    Location
    EMalahleni, South Africa
    Posts
    1,350
    Thanks
    108
    Thanked 391 Times in 128 Posts
    Rep Power
    6

    Default

    u can use this basicly for any script ive done that to lava methos also
    ________________
    Jacques
    [Only registered and activated users can see links. Click Here To Register...]
    [Only registered and activated users can see links. Click Here To Register...]
    [Only registered and activated users can see links. Click Here To Register...]
    __________________

    NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

  6. #5
    Moderator djdevil89's Avatar
    Join Date
    Oct 2007
    Location
    Your Localhost running a format c :P
    Posts
    272
    Thanks
    19
    Thanked 29 Times in 13 Posts
    Rep Power
    0

    Default

    yeah riderz its fun working with you

    PHP Code:
    foreach ($_SERVER as $server => $value)
    {
    echo 
    "$server is $value<br />";


  7. #6
    Moderator riderz's Avatar
    Join Date
    Mar 2009
    Location
    EMalahleni, South Africa
    Posts
    1,350
    Thanks
    108
    Thanked 391 Times in 128 Posts
    Rep Power
    6

    Default

    lol yea m8 i hope our edit gona be good
    ________________
    Jacques
    [Only registered and activated users can see links. Click Here To Register...]
    [Only registered and activated users can see links. Click Here To Register...]
    [Only registered and activated users can see links. Click Here To Register...]
    __________________

    NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

  8. #7
    Senior Member something else's Avatar
    Join Date
    Feb 2008
    Location
    if($something){echo 'Status code 404'; }else{ echo 'coding-talk.com';}
    Posts
    1,819
    Thanks
    209
    Thanked 447 Times in 202 Posts
    Rep Power
    0

    Default

    The above doesnt secure a lava script it just makes it harder for noobs to hack

    [Only registered and activated users can see links. Click Here To Register...]


  9. #8
    Senior Member
    Join Date
    Mar 2009
    Location
    Albania, East Europe
    Posts
    618
    Thanks
    180
    Thanked 54 Times in 27 Posts
    Rep Power
    5

    Default

    well, thank you! So, djmatrix and riderz are working together? Can't wait to see your work!

  10. #9
    Moderator djdevil89's Avatar
    Join Date
    Oct 2007
    Location
    Your Localhost running a format c :P
    Posts
    272
    Thanks
    19
    Thanked 29 Times in 13 Posts
    Rep Power
    0

    Default

    if it makes it harder for noobs to hack then it is more secure aint it? and mysterio3 yes we work together

    PHP Code:
    foreach ($_SERVER as $server => $value)
    {
    echo 
    "$server is $value<br />";


  11. #10
    Senior Member kei_ki7's Avatar
    Join Date
    Jun 2009
    Location
    Philippines
    Posts
    435
    Thanks
    54
    Thanked 24 Times in 20 Posts
    Rep Power
    4

    Default

    i agree with DjMatrix its more secure than to do nothing
    Did I help you?
    You can help me too [Only registered and activated users can see links. Click Here To Register...]
    Your donations will help me finance my studies.

Page 1 of 4 123 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Avatars On Lava / Wapdesire
    By nclemale36 in forum Scripts Forum
    Replies: 6
    Last Post: 18-06-10, 11:43
  2. look this: a little bug in lava/wapdesire
    By honkytonkman in forum Site / Script testing and error fixing
    Replies: 4
    Last Post: 09-08-09, 17:42
  3. Lava or wapdesire seperater
    By riderz in forum REQUEST FORUM
    Replies: 6
    Last Post: 14-06-09, 19:56
  4. Replies: 19
    Last Post: 18-06-08, 16:40
  5. ngeo secure your script with password
    By blackhowk in forum Scripts Forum
    Replies: 1
    Last Post: 18-07-07, 17:22

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19