Announcement

Announcement Module
Collapse

Forum Rules.

This terms of being safe and users being happy.

There will be rules you must apply too.
1. No fighting this also includes shoutbox ...
2. No Spam links into shoutbox ....
3. Grabbers are banned to be sold but allowed to share.
4. Selling scripts that is posted here is NOT ALLOWED!!
5. Selling service's is allowed etc hosting,domains,scripts install allowed only you and the client know the trust.
6. There will be no swearing at staff or members or anywhere !! !!
7. Coding scripts and php code MUST be coded into or Any one that posted with out block code like rules 7 will auto be deleted to you understand to use them type of bbcodes this will save time for admin's doing it also we are getting sick of seeing a page of 1094+ long with your error code.

If you broken the rules admins will inform your actions.

You will be warn 3 times MAX if you choice to not to listen then you will be BANNED for a week.

Keep it up later you will be Gone for good!

Sign up again this will just slap you ip deny ban ! means your time here is done for good.

Remember keep the forum clean and sweet and nice !!

We all here to help you with your errors and coding but remember we are not slaves!

If you wish to change your USERNAME inbox GUMSLONE.

Update
Any users wanted a freelancer or script builder and willing to pay for it don't pay in front contact one of admins and they will swap the deal of.. Anyone found founding the system will be banned from the site.
Be safe trade with me ( subzero ) if you want to deal a freelancer they will have to go though me.
As to make sure i know ( india ) having problems with paypal but it is better then moneybookers where you can't get a refund from unless the other person sends it back..

All this to keep your time here a enjoyable time and have fun !
See more
See less

Secure a Lava Script (Wapdesire)

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    thanks allot .. bro, pls also chk this topic. i can give u my files to correct this particular problem.. pls help.. http://coding-talk.com/f16/shouts-5077/

    Comment


    • #3
      is it not for arwap script?

      Comment


      • #4
        u can use this basicly for any script ive done that to lava methos also

        Comment


        • #5
          yeah riderz its fun working with you

          Comment


          • #6
            lol yea m8 i hope our edit gona be good

            Comment


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

              Comment


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

                Comment


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

                  Comment


                  • #10
                    i agree with DjMatrix its more secure than to do nothing

                    Comment


                    • #11
                      actually, a gr8 tutorial.. to help amost everybody coz, many using lavalair here..// thnx allot sir

                      Comment


                      • #12
                        Its better to make it hard than to do nothing

                        Comment


                        • #13
                          Originally posted by DjMatrix View Post
                          if it makes it harder for noobs to hack then it is more secure aint it? and mysterio3 yes we work together
                          kk just saying isnt 100 percent secure

                          changing a session is as easy as changing a url to a lot of people including via phone
                          Last edited by something else; 08-11-09, 19:45.

                          Comment


                          • #14
                            what you making, guys? In what you working?

                            Comment


                            • #15
                              we'll show when we done

                              Comment

                              Working...
                              X