» »

PHP POST method

PHP POST method

StratOS ::

Kako bi spremenil User agent od IE-a v recimo pobesneli max.
Imam IE6 in ne dela z standardnim registerskim pristopom.

In zakaj - Testiram POST in GET HTTP request.

Trenutno :
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705)

No če katerega močno zanima naj se prijavi na ta sajt in proba rešiti tole dobro uganko

Uspelo mi je spremeniti string, vendar imam pa probleme pri kasnejši enkripciji in sporazumevanju, ker delam v drugem okolju, zanima me kako bi to možno urediti z IE.

Testing HTTP Request:
User Agent:

Expected: "Crafted Agent"
Found: "Crafted Agent"
Request Method: ....

več pa ne spem pokazati ...

Formo mam že pripravljeno, samo string bi moral še spremenit :(
"Multitasking - ability to f##k up several things at once."
"It works better if you plug it in."
"The one who is digging the hole for the other to fall in is allready in it."
  • spremenila: StratOS ()

StratOS ::

nic znanja, hja ...

andrej ::

ce me spomin ne vara sem ze slisal kako se to naredi, ampak se ne spomin vec. probaj malo v googlu poiskat...

StratOS ::

go to start - run - and type gpedit.msc

On the left side of the group editor that comes up under the "User Configurations" expand the "Windows Settings" branch then expand the "Internet Explorer Maintenance" branch.

there are various settings here the you can change to customise internet explorer. An interesting one that gets rid of the problem with some sites not liking IE6 is the "connection" branch. Click on this branch and in the right window you will see the item "User Agent String"

Double click the "User Agent String" item and you will be able to enter "MSIE 5.5". Thios will allow you to view those sites correctly that do not like IE 6.

In all honesty, you should leave most of these settings alone, but the IE ones are fairly safe. Several builds ago I disabled the whole OS by playing around with these. It was never the same again and I eventually had to re-format and re-install. Youv'e been warned.
  • __________________

  • Hm, z tem spremeniš samo en del stringa, primer :
    Mozilla/x.x (compatible; MSIE x.x; Windows NT 5.0;LE TA STRING; .NET CLR x.x.xxxx)

    kako bi cel string spremenil, hm, z getrightom se to da, kako pa je z IE, netscapeom ali mozillo ??

    JLP ::

    V Mozilli lahk spremeniš UA string u karkol hočeš. In sicer tako:
    Odpreš fajl s tvojmi settingsi za Mozillo (prefs.js)
    Dodaš vrstico:
    user_pref("general.useragent.override", "...");
    Namest ... napišeš kar češ.
    Live long and prosper!

    StratOS ::

    Hm, to mi je uspelo z majhno spremembo, kajti zadnja verzija Mozile ima drug preimenovan *.js fajl in samo ukaz "pref".
    Hvala za pomoč JLP

    Naredil sem tudi formo, ko postam dobim sporočilo, na katero moram takoj odgovoriti, pa spet ne vem kako naj to v formi naredim u post ukazi takoj po submit-tu.

    Any ideas bright PHP programmers :\

    Zgodovina sprememb…

    • spremenila: StratOS ()

    darh ::

    Ne smeti po forumu brez veze StratOS...
    (tole leti na reklamiranje tega threda v Izdelavi Spletišč !! ->> ustvari tam novo temo z temle problemom pa je... (pa poskusi mal bolj opisat kako in kaj, ker ne vem lih kaj češ da ti dela 8-) ))
    Excuses are useless! Results are priceless!

    StratOS ::

    8-O Poor me, i will comply ...

    StratOS ::

    ... ampak vseeno me zanima če kdo obvlada PHP, mislim da so to čiste osnove PHP in komunikacije med server-klientom, zato čakam na odgovore ...:D

    Zanima me source code forme, ja fajn bi bilo slišati tudi enkriptirano vprašanje, še boljše pa v celoti celotno formo z dodatnim postom (enkripcija in post rešitve) ...

    Glede user agenta je v zgornjih vrsticah opisana sprememba v mozilli, ostane le še source code forme !!!

    pa da vas vidimo, mogoče ne bo šlo z coockiji, zato se morete registrirati ...
    "Multitasking - ability to f##k up several things at once."
    "It works better if you plug it in."
    "The one who is digging the hole for the other to fall in is allready in it."

    Zgodovina sprememb…

    • spremenila: StratOS ()

    StratOS ::

    Problem 31

    Testing HTTP Request:
    User Agent:
    # Expected: "Crafted Agent"
    # Found: "Crafted Agent"
    Request Method:
    # Expected: POST
    # Found: POST
    Answer:
    # Found: ... converting...

    Failed.....


    +++GET 54+++
    POST /game/problems/misc_4.php?echo%20$PHP_SELF;? HTTP/1.0
    Host: www.caesum.com
    User-Agent: Crafted Agent
    Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
    Accept-Language: en-us, en;q=0.50
    XXXXXXXXXXXXXXX: XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
    Keep-Alive: 300
    Cookie: key=PZAnvsOHLtS1PuP6oCBF4zxo
    Content-Type: application/x-www-form-urlencoded
    Content-Length: 52
    Connection: keep-alive
    Accept-encoding: gzip, deflate
    Posting 52 bytes...

    +++RESP 54+++
    HTTP/1.1 200 OK
    Date: Wed, 12 Jun 2002 11:18:43 GMT
    Server: Apache/1.3.14 (Unix) mod_perl/1.24 PHP/4.0.6 FrontPage/4.0.4.3 mod_ssl/2.7.1 OpenSSL/0.9.6
    X-Powered-By: PHP/4.0.6
    Question: U3VybmFtZSBvZiBTaGVybG9jayBIb2xtZXMgYXJjaCBlbmVteQ==
    Connection: close
    Transfer-Encoding: chunked
    Content-Type: text/html
    +++CLOSE 54+++


    kako dekodirati vprašanje, dobiti odgovor in ga enkodiranega poslati nazaj ??
    "Multitasking - ability to f##k up several things at once."
    "It works better if you plug it in."
    "The one who is digging the hole for the other to fall in is allready in it."

    Zgodovina sprememb…

    • spremenila: StratOS ()

    StratOS ::

    Uspelo mi je dekodirati z mime base64 dekoderjem !

    vprašanje je Surname of Sherlock Holmes arch enemy

    odgovor je Moriarty, ki ga treba znova enkriptirat :

    rezultat :
    Content-Type: text/plain; charset=US-ASCII; name=Answer
    Content-transfer-encoding: base64
    TW9yaWFydHk=

    kako narediti formo za postanje, ne vem kje sem se zmotu, da mi odgovora ne prizna ?
    "Multitasking - ability to f##k up several things at once."
    "It works better if you plug it in."
    "The one who is digging the hole for the other to fall in is allready in it."

    StratOS ::

    No tudi to sem rešil z cURL-jem :)
    "Multitasking - ability to f##k up several things at once."
    "It works better if you plug it in."
    "The one who is digging the hole for the other to fall in is allready in it."


    Vredno ogleda ...

    TemaSporočilaOglediZadnje sporočilo
    TemaSporočilaOglediZadnje sporočilo
    »

    [JAVA] HTTPS client

    Oddelek: Programiranje
    173057 (1787) peterv6i
    »

    ASP.NET + C# vprašanje

    Oddelek: Programiranje
    342649 (1663) Morenov
    »

    PHP & XAMPP file_get_contents

    Oddelek: Izdelava spletišč
    151298 (1078) KoMar-
    »

    Try2Hack level9 in eggdrop quest

    Oddelek: Programiranje
    102735 (1927) StratOS
    »

    how to hack a site???

    Oddelek: Pomoč in nasveti
    151756 (1458) StratOS

    Več podobnih tem