AminosAmigos | soprano, is the home folder encrypted ? | 01:07 |
---|---|---|
soprano | AminosAmigos: c'est resolut :D | 01:54 |
AminosAmigos | :) great ! | 01:55 |
soprano | la solution je l'ai trouvé ici , ca vous aide peut etre http://www.ubuntugeek.com/how-to-recover-password-under-ubuntu.html | 02:49 |
=== davlefou_ is now known as davlefou | ||
soprano | Salam tous le Monde | 13:31 |
soprano | AminosAmigos, voila la solution d'hier pour recuperer le mot de passe http://www.ubuntugeek.com/how-to-recover-password-under-ubuntu.html | 13:32 |
AminosAmigos | ok merci :) soprano | 13:33 |
soprano | De rien :D | 13:33 |
ounis | hey AminosAmigos soprano | 13:33 |
soprano | AminosAmigos: tu te debrouille en php !! | 13:34 |
ounis | AminosAmigos I finally returned to this channel :) | 13:34 |
AminosAmigos | hey ounis :D Good for you | 13:34 |
elacheche_anis | salam soprano | 13:35 |
soprano | elacheche_anis, salam :D | 13:35 |
AminosAmigos | what do you mean ? soprano | 13:35 |
soprano | AminosAmigos: i mean if you know how to make a script php ( page html + script shell ) | 13:36 |
AminosAmigos | No :) | 13:37 |
soprano | AminosAmigos, great | 13:38 |
AminosAmigos | i have a ppa problem (can't fetch ) and i can't tell what is that ppa for :/ | 13:39 |
AminosAmigos | http://ppa.launchpad.net/norsetto/... any ideas ? | 13:39 |
soprano | Is there is anyone can help me | 13:40 |
ounis | AminosAmigos it's easy get rid of your Ubuntu OS :D it's too shitty to fix all its problems | 13:40 |
AminosAmigos | what do you use ounis ? | 13:41 |
ounis | soprano what is the need? | 13:41 |
ounis | in general or right now? | 13:41 |
ounis | In general I use CentOS | 13:42 |
ounis | right now I'm too ashamed of the OS I use (it's the companie's PC) | 13:42 |
AminosAmigos | LoL i know that feel bro | 13:42 |
soprano | ounis: how to make a script php ( page html + script shell ) | 13:43 |
ounis | please be more specific soprano | 13:43 |
ounis | you mean when you open the web page the php script launches a shell script on the server? | 13:44 |
Tux-Tn | hello guys | 13:44 |
soprano | take a look here http://pastebin.com/P5FZsJQS | 13:44 |
ounis | hey Tux-Tn | 13:44 |
soprano | Tux-Tn: hi :D | 13:44 |
Tux-Tn | ounis, time to change the topic :D | 13:44 |
ounis | yeah! | 13:45 |
ounis | soprano your code style is too ugly | 13:45 |
ounis | i'll try to read it evn if it's causing too much pain to my eyes | 13:46 |
soprano | ounis: :S i have test it , it works fine , ther is one problem at line 265 | 13:47 |
ounis | I mean the coding style | 13:47 |
ounis | not if it works or not | 13:47 |
ounis | code beauty is important too | 13:47 |
soprano | OK, got it | 13:48 |
ounis | soprano you got examples of the 3 conf files? | 13:49 |
soprano | i have 2 only ; wait a minute | 13:51 |
ounis | ok | 13:53 |
ounis | Soprano Soprano_ pay attention to railing spaces @ the end of your lines & spaces in empty lines | 13:55 |
ounis | indentation is important too | 13:55 |
Soprano_ | ounis: http://pastebin.com/RM4ZW7QP the is an other example | 13:56 |
ounis | still missing conf.php | 13:59 |
ounis | try to give something that works not something missing setup | 13:59 |
ounis | Soprano_ try to give a short esplanation of the function of each code | 14:02 |
Tux-Tn | he doesn't know | 14:02 |
ounis | Soprano_ try also to add a phpdoc style comment to each function | 14:02 |
ounis | Tux-Tn try to stfu | 14:02 |
Tux-Tn | wtf? | 14:02 |
Tux-Tn | ounis, u wanna a kick? | 14:03 |
ounis | yes please | 14:03 |
Tux-Tn | okay | 14:04 |
Tux-Tn | but seriously | 14:04 |
Tux-Tn | Soprano_ got the code from somewhere | 14:04 |
Tux-Tn | and he doesn't know how to code in php | 14:04 |
ounis | at least a short explanation on what the code is supposed todo | 14:04 |
ounis | especially if the code is that bad | 14:05 |
ounis | it's too hard to read | 14:05 |
ounis | tooo* | 14:05 |
ounis | pfff, I mean too* | 14:05 |
* ounis in a boring meeting, so trying to occupy himself with anything | 14:06 | |
ounis | Soprano_ you still here? | 14:07 |
Soprano_ | ounis: yep :/ | 14:07 |
ounis | so any answer? | 14:07 |
Tux-Tn | ounis, when u will finish ur meeting? | 14:08 |
ounis | idk the retards I work with talk too much to say nothing | 14:08 |
ounis | they don't respect time plannings | 14:08 |
ounis | so it may stay for a while | 14:09 |
Soprano_ | ounis: no, but you can take a look here , http://176.9.238.187/indexx? | 14:09 |
ounis | what is that? | 14:09 |
Soprano_ | try to put code 11 and Activate | 14:09 |
ounis | I got no activation code | 14:10 |
Soprano_ | and you will see the message | 14:10 |
ounis | indeet what is the problem? | 14:10 |
ounis | indeed* | 14:10 |
Soprano_ | at line 256 in the first file , there the Reactive Action | 14:11 |
Soprano_ | sorry line 265 | 14:11 |
ounis | your issue is in function file_user_check() | 14:15 |
ounis | try to var_dump $act['End'] | 14:15 |
Soprano_ | ounis: did you try to put code : 11!!! | 14:16 |
ounis | yep | 14:16 |
ounis | the date is the UNIX origina date | 14:16 |
ounis | original* | 14:16 |
Soprano_ | try it now and see the message | 14:17 |
ounis | it means the value of the date is 0 | 14:17 |
ounis | now it says expire | 14:17 |
Soprano_ | yep | 14:17 |
Soprano_ | what i have understan from file | 14:18 |
Soprano_ | if($act['End']>time()) | 14:18 |
Soprano_ | gives expire code | 14:18 |
ounis | check line 270 | 14:18 |
Soprano_ | yep | 14:19 |
Soprano_ | i guess ther is the problem | 14:19 |
ounis | I still maintain that the issue is in function file_user_check() | 14:19 |
ounis | or maybe in user.xml | 14:19 |
ounis | the structure maybe not good | 14:19 |
ounis | Tux-Tn please change the topic | 14:20 |
ounis | in here it's not about ubuntu at all | 14:20 |
ounis | Tux-Tn add me as op | 14:20 |
Soprano_ | ounis , try to put code: 15 | 14:21 |
Soprano_ | and i will explain you the proxy.act, user.xml, proxy.codes | 14:22 |
ounis | ok it worked | 14:23 |
Soprano_ | in proxy.act | 14:23 |
Soprano_ | makes an history | 14:23 |
Soprano_ | [2012/08/21][18:22:44] Username = AB1345558964 Password = 503399b4ac487 15=10 Start: 2012/08/21 End: 2012/08/31 IP: ********* | 14:24 |
Soprano_ | in user.xml | 14:24 |
Soprano_ | generate a user and password with start date and end date <user name="AB1345558964" password="503399cf350fd" code="15" startDate="21-08-2012" days="10" expire-date="31-08-2012" max-connections="false" admin="false"/> | 14:24 |
ounis | alright | 14:25 |
Soprano_ | but the reactive action dosen't work :S | 14:26 |
Soprano_ | the problem is here in line 270 i guess if ( $_SERVER["HTTP_USER_AGENT"] == $GLOBALS['USER_AG'] ) | 14:27 |
ounis | no it isn't | 14:34 |
ounis | it's in L441 & L 443 | 14:34 |
ounis | try to put mktime(0, 0, 0, (int) $month, (int) $day, (int) $year), | 14:35 |
ounis | Soprano_ does that solve your issue? | 14:36 |
Soprano_ | Ok wait | 14:36 |
Soprano_ | mktime(0, 0, 0, (int) $month, (int) $day, (int) $year), sorry , where i put it !!! :S | 14:37 |
ounis | replace the old mktime in L441 & L443 | 14:37 |
Soprano_ | Ok Got it | 14:37 |
ounis | :) | 14:37 |
ounis | I told you it's in that function & you need to var_dump($act['End']) | 14:38 |
Soprano_ | mktime(0, 0, 0, (int) $month, (int) $day, (int) $year), !!! must be terminatd by ( ; ) no !! | 14:38 |
ounis | yes | 14:38 |
Soprano_ | Ok | 14:38 |
ounis | I don't give you the fish I'm teaching you how to catch it ;) | 14:39 |
Soprano_ | Expire code | 14:40 |
Soprano_ | same problem | 14:40 |
Soprano_ | i'm not pro but i guess is at line 265 | 14:40 |
Soprano_ | wait i will explain you | 14:40 |
Soprano_ | try now and put the code 14 and see what message you will got it | 14:41 |
ounis | ounis failed | 14:43 |
ounis | Soprano_ how can I test it locally? | 14:44 |
Soprano_ | Activation , Reactivation , Wron code and Expire code , at lines ( 265 --- 280 ) | 14:44 |
Soprano_ | do you mean how to test it in your machine ! | 14:45 |
Soprano_ | Activation , Reactivation , Wron code and Expire code , at lines ( 256 --- 280 ) | 14:45 |
Soprano_ | ounis, are you there ? | 14:50 |
ounis | I insist it's in $act['End'] mktime is not working right | 14:50 |
ounis | lol | 14:51 |
ounis | got it | 14:51 |
ounis | the problem is in the XML | 14:51 |
ounis | don't put "expire-date" it't "endDate" | 14:51 |
Soprano_ | no | 14:52 |
Soprano_ | if is it really what you | 14:53 |
Soprano_ | i will not got this in proxy.act | 14:53 |
Soprano_ | [2012/08/21][18:52:22] Username = AB1345559986 Password = 5033a0a638c6e 14=10 Start: 2012/08/21 End: 2012/08/31 IP: 164.******** | 14:53 |
Soprano_ | and this in use.xml <user name="AB1345559986" password="5033a0a638c6e" code="14" startDate="21-08-2012" days="10" expire-date="31-08-2012" max-connections="false" admin="false"/> | 14:53 |
Soprano_ | time it's correcte | 14:54 |
Soprano_ | correct | 14:54 |
ounis | in fact you need to put "endDate" after the activaation the code will convert it to "expire-date" | 14:54 |
ounis | you may need to put it in a future date let's say in 2013 | 14:55 |
Soprano_ | after activation the code ( who has been in proxy.codes like this 14=10 ( code 14 for 10 days ) he delete automaticly | 14:55 |
Soprano_ | you mean endate in 2013 !! | 14:56 |
ounis | yep | 14:56 |
ounis | for example | 14:56 |
Soprano_ | put the code 11 :D | 14:56 |
ounis | no | 14:56 |
ounis | I did | 14:57 |
ounis | it worked! | 14:57 |
Soprano_ | Yep | 14:57 |
Soprano_ | [2012/08/21][18:57:22] Username = AB1345561022 Password = 5033a1d26f378 11=366 Start: 2012/08/21 End: 2013/08/22 IP: 164.******* | 14:58 |
Soprano_ | <user name="AB1345561022" password="5033a1d26f378" code="11" startDate="21-08-2012" days="366" expire-date="22-08-2013" max-connections="false" admin="false"/> | 14:58 |
Soprano_ | you see it's works fine | 14:58 |
ounis | believe me | 14:58 |
ounis | you need to put "endDate" the execution will change it to "expire-date" | 14:59 |
Soprano_ | i don't think so | 15:00 |
Soprano_ | "endate" change "expire-date" in user.xml | 15:01 |
ounis | "endDate" not "endate" | 15:01 |
ounis | and yes the execution is changing it | 15:02 |
Soprano_ | and the Activation , Code Expire, Wrong Code , Reactive, all this will be doing withe chek file proxy.act | 15:02 |
ounis | IDK I still don't understand what your code is doing | 15:02 |
ounis | I just gave you what is going on & why you see those messages | 15:03 |
Soprano_ | you can test it in your machine !! | 15:03 |
Soprano_ | you will understand | 15:03 |
ounis | yes | 15:03 |
ounis | I understood! | 15:03 |
Soprano_ | so with this config file | 15:04 |
ounis | don't negotiate too much with me I know what I'm talking about and I get mad quickly when people act as you do | 15:04 |
Soprano_ | Ok | 15:05 |
Soprano_ | i didn't say anything :/ who makes you mad | 15:06 |
ounis | pfff | 15:08 |
ounis | your making me repeate the same thing more than 5 times | 15:09 |
ounis | If it's not stupidity (BTW I hate stupidity) your trying intentionally to make me mad! | 15:10 |
ounis | I said I know what I'm talking about | 15:10 |
ounis | you just need to try what I told you | 15:10 |
ounis | no need to ask me about it | 15:10 |
Soprano_ | Ok | 15:11 |
ounis | if you're too stupid to understand what I'm saying don't ask questions until you get a brain first | 15:12 |
DelphiWorld | Salam | 15:24 |
DelphiWorld | salut Tux-Tn | 15:24 |
ounis | hey DelphiWorld | 15:28 |
DelphiWorld | hey ounis | 15:29 |
ounis | sup? | 15:29 |
Tux-Tn | salut DelphiWorld | 17:29 |
Tux-Tn | ca va bien? | 17:29 |
Tux-Tn | 3idek mabrouk | 17:29 |
DelphiWorld | merci Tux-Tn et a tout le monde:P | 17:29 |
DelphiWorld | tré long tamp Tux-Tn | 17:29 |
Tux-Tn | ouai | 17:29 |
Tux-Tn | t'es rentré du maroc? | 17:29 |
DelphiWorld | oui Tux-Tn ;) | 17:30 |
DelphiWorld | Tux-Tn: et samedi a dubai :P | 17:30 |
Tux-Tn | tu fais le tour du monde ? :D | 17:31 |
DelphiWorld | Tux-Tn: LOL | 17:32 |
DelphiWorld | Tux-Tn: http://mum.mikrotik.com/ | 17:33 |
Tux-Tn | :O | 17:35 |
Tux-Tn | t'as de la place dans ta valise? | 17:35 |
DelphiWorld | Tux-Tn: oui, elle est grande ;) | 17:37 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!