pwAdmin 151

Page 7 of 13 FirstFirst 12345678910111213 LastLast
Results 91 to 105 of 183
  1. #91
    Account Upgraded | Title Enabled! NoName123456 is offline
    MemberRank
    Nov 2013 Join Date
    213Posts

    Re: pwAdmin 151

    Whats the fix for this? when I edit my acc culti it keeps loading and it doesnt end/edit it.

    Anyhelp?
    Last edited by NoName123456; 31-03-14 at 04:01 PM.

  2. #92
    Account Upgraded | Title Enabled! elche27 is offline
    MemberRank
    Dec 2004 Join Date
    TucumanLocation
    302Posts

    ! Re: pwAdmin 151

    Quote Originally Posted by sora1984 View Post
    based off @DaMadBoy fixed 148 and @Bola iweb 151

    this pwAdmin works with xml, import charater to db ect ect

    edit the configs in
    /pwAdmin/WEB-INF/.pwadminconf.jsp


    https://mega.co.nz/#!uk4FHK6Q!gVinTV...bOmefeqoC1zNCs
    Good Night Mr Sora,

    Sorry for bother you but i am having some issue with addon's tab. My first problem is i cant log an account. My problem is on login.jsp, more specific on the code of this function:

    Code:
    String pw_encode(String salt, MessageDigest alg)
    	{
    		alg.reset(); 
    		alg.update(salt.getBytes());
    		byte[] digest = alg.digest();
    		StringBuffer hashedpasswd = new StringBuffer();
    		String hx;
    		for(int i=0; i<digest.length; i++)
    		{
    			hx =  Integer.toHexString(0xFF & digest[i]);
    			//0x03 is equal to 0x3, but we need 0x03 for our md5sum
    			if(hx.length() == 1)
    			{
    				hx = "0" + hx;
    			} 
    			hashedpasswd.append(hx);
    		}
    		salt = "0x" + hashedpasswd.toString();
    
            	return salt;
       	}
    Could you share your code? Since i am not good on jsp i dont know how to use this
    Code:
    base64_encode(md5($user.$pass, true));
    .

    My second problem is:
    I managed to make work "GET GOLD ADDON" on a char BUT with a GM account


    When i try with a normal account, i cant make it work, dont know why


    Even more, i used same method as GM account and work on other addon like GET ITEM like you can see here


    Any clue why? Thank you in advance!
    Regards

  3. #93

  4. #94
    Account Upgraded | Title Enabled! elche27 is offline
    MemberRank
    Dec 2004 Join Date
    TucumanLocation
    302Posts

    Re: pwAdmin 151

    Quote Originally Posted by Regano View Post
    Thank You Mr Regano for your answer but i replaced your index,jsp and get an error


    And iif i use the code on login.jsp, i get error too
    String pw_encode(String salt, MessageDigest alg)
    {
    alg.reset();
    alg.update(salt.getBytes());
    byte[] digest = alg.digest();
    return Base64Util.encode(digest);
    }
    But you gave me some ideas...ill try to resolve it...thank you!

  5. #95
    Member Regano is offline
    MemberRank
    Feb 2012 Join Date
    94Posts

    Re: pwAdmin 151

    Please copy and overwrite all of the target folder.

  6. #96
    Account Upgraded | Title Enabled! elche27 is offline
    MemberRank
    Dec 2004 Join Date
    TucumanLocation
    302Posts

    thumbs up Re: pwAdmin 151

    Quote Originally Posted by Regano View Post
    Please copy and overwrite all of the target folder.
    No need Mr Regano XD!
    Just need to do this change on login.jsp
    Code:
    <%@page import="java.sql.*"%>
    <%@page import="java.util.*"%>
    <%@page import="java.security.*"%>
    <%@page import="org.seasar.framework.util.Base64Util"%>
    
    <%@include file="../../WEB-INF/.pwadminconf.jsp"%>
    
    <%!
        	String pw_encode(String salt, MessageDigest alg)
    	{
    		
    		alg.reset(); 
    		alg.update(salt.getBytes());
    		byte[] digest = alg.digest();
    		String passCod = Base64Util.encode(digest);
    		return passCod;
       	}
    %>
    And put your Base64Util.class on /WEB-INF/classes/org/seasar/framework/util/Base64Util.class or overwrite the folder class hehe, sry for explain with apple and banana but not all have the skill to know.
    That is all! Work to me!

    Thank to you Mr Regano, i could fix this problem. Regards!
    Last edited by elche27; 10-04-14 at 03:35 AM.

  7. #97
    Enthusiast GamesRealm is offline
    MemberRank
    Jul 2012 Join Date
    26Posts

    Re: pwAdmin 151

    Guys, thanks verry mutch for the tips, but they dont works for me!!!

    First, i accesed http://192.168.200.100:8080/pwAdmin/ and i got this:


    Now, after i got the error, i was looking in the thread to find a fix, and i found this:
    Quote Originally Posted by sora1984 View Post
    Urrg!! learn!!

    cd to /

    create a new file call it pwadmin.sh paste this into it:

    Code:
    #!/bin/bash
    #noob installer lol
    
    ip=`/sbin/ifconfig|grep inet|head -1|sed 's/\:/ /'|awk '{print $3}'`
    
    apt-get install -y unzip tomcat7
    cd var/lib/tomcat7/webapps/
    service tomcat7 stop
    wget https://dl.dropboxusercontent.com/u/19918926/pwadmin1.5.1.zip
    unzip -o pwadmin1.5.1.zip
    service tomcat7 start
    echo ""
    echo "Open your browser and go to http://"$ip":8080/pwAdmin/"
    save it.

    Run it:

    Code:
    chmod 755 pwadmin.sh
    ./pwadmin.sh
    And so i did, i went to /<root> and pasted the file "pwadmin.sh" (i also saved it on root dir, just in case!)


    And now, i`m try to run it, first time i used "chmod 755 pwadmin.sh" and second "./pwadmin.sh" but it seem that non of them work! And i`m kinda blocked here, and dont know what do to next\1

  8. #98
    .#!/bin/bash sora1984 is offline
    MemberRank
    Feb 2011 Join Date
    127.0.0.1Location
    387Posts

    Re: pwAdmin 151

    if you made the file on Crapdows then do:
    cd /
    apt-get install tofrodos
    fromdos pwadmin.sh
    chmod 755 pwadmin.sh
    ./pwadmin.sh

    Also the ~# means the current users folder! eg. "/root" not root dir "/"

    if you ever need to know the exact directory you are in then use pwd
    basic unix knowledge is a must!!
    Last edited by sora1984; 10-04-14 at 08:22 PM.

  9. #99
    Enthusiast GamesRealm is offline
    MemberRank
    Jul 2012 Join Date
    26Posts

    Re: pwAdmin 151

    Quote Originally Posted by sora1984 View Post
    if you made the file on Crapdows then do:
    cd /
    apt-get install tofrodos
    fromdos pwadmin.sh
    chmod 755 pwadmin.sh
    ./pwadmin.sh

    Also the ~# means the current users folder! eg. "/root" not root dir "/"

    if you ever need to know the exact directory you are in then use pwd
    basic unix knowledge is a must!!
    Can you have a look please, i always have problems when i use command "apt-get install or update"



  10. #100
    Enthusiast luckyjackz is offline
    MemberRank
    Sep 2012 Join Date
    47Posts

    Re: pwAdmin 151

    Quote Originally Posted by elche27 View Post
    No need Mr Regano XD!
    Just need to do this change on login.jsp
    Code:
    <%@page import="java.sql.*"%>
    <%@page import="java.util.*"%>
    <%@page import="java.security.*"%>
    <%@page import="org.seasar.framework.util.Base64Util"%>
    
    <%@include file="../../WEB-INF/.pwadminconf.jsp"%>
    
    <%!
        	String pw_encode(String salt, MessageDigest alg)
    	{
    		
    		alg.reset(); 
    		alg.update(salt.getBytes());
    		byte[] digest = alg.digest();
    		String passCod = Base64Util.encode(digest);
    		return passCod;
       	}
    %>
    And put your Base64Util.class on /WEB-INF/classes/org/seasar/framework/util/Base64Util.class or overwrite the folder class hehe, sry for explain with apple and banana but not all have the skill to know.
    That is all! Work to me!

    Thank to you Mr Regano, i could fix this problem. Regards!
    i use your tips for get item and get gold. After i change that login.jsp and copy base64, when i try to login to pwAdmin, it can't login...

  11. #101
    Member Regano is offline
    MemberRank
    Feb 2012 Join Date
    94Posts

    Re: pwAdmin 151

    Quote Originally Posted by luckyjackz View Post
    i use your tips for get item and get gold. After i change that login.jsp and copy base64, when i try to login to pwAdmin, it can't login...
    account.jsp
    serverctrl.jsp
    addons
    WEB-INF
    You need to override the four folders these.

  12. #102
    Enthusiast GamesRealm is offline
    MemberRank
    Jul 2012 Join Date
    26Posts

    Re: pwAdmin 151

    Any help guys, please? :)

  13. #103
    Valued Member Latyos is offline
    MemberRank
    Jul 2011 Join Date
    132Posts

    Re: pwAdmin 151

    Quote Originally Posted by GamesRealm View Post
    Any help guys, please? :)
    Try install tomcat7 instead of tomcat6

  14. #104
    Developer - JS Ben is offline
    MemberRank
    Jul 2013 Join Date
    BelguimLocation
    1,244Posts

    Re: pwAdmin 151

    ---Edit--

    Nvm
    Last edited by Ben; 01-05-14 at 07:45 PM.

  15. #105
    .#!/bin/bash sora1984 is offline
    MemberRank
    Feb 2011 Join Date
    127.0.0.1Location
    387Posts

    Re: pwAdmin 151

    Whaaay thanks for the sticky!



Advertisement