Jump to content

theereal

Member
  • Posts

    3,755
  • Joined

  • Last visited

Reputation Activity

  1. Like
    theereal reacted to mariushm in HTTP POST using PuTTY (Windows)   
    POST /tk1104/oppgave3d.php HTTP/1.1 Host: www.eastwillsecurity.com Origin: http://www.eastwillsecurity.com Referer: http://www.eastwillsecurity.com/tk1104/oppgave3d.php Accept: text/html,application/xhtml+xml User-Agent: PuTTY EksamenTK1104: 1234 Content-Type: text/plain Content-Length: 8 OPPGAVE3 Something like this. 
    Standard port for http is 80 and can be omitted, it's implicit. 
    replace 1234 with your actual id. 
    Content-Type : text/plain because you're just sending some text to the server/script, not form data. 
    Origin and Referer are optional.
     
    Not 100% sure of this final part, it should be correct but maybe check it, make tests, ask someone else 
     
    You can write your own php script to test this stuff  (install apache and php on your windows machine, it's super easy) and read the "request body" from php://input and dump it to a file (ex see file_put_contents function)  and compare with what you send.
     
    this outputs directly.
    <?php $body = ''; $fh = @fopen('php://input', 'r'); if ($fh) { while (!feof($fh)) { $s = fread($fh, 1024); if (is_string($s)) { $body .= $s; } } fclose($fh); } echo "Body: $body"; ?>  
     
  2. Like
    theereal reacted to mariushm in HTTP POST using PuTTY (Windows)   
    POST /your-script.php HTTP/1.1 Host: www.your-domain-name.com Origin: http://www.your-domain-name.com Referer: http://www.your-domain-name.com/your-script.php Accept: text/html,application/xhtml+xml Content-Type: application/x-www-form-urlencoded Content-Length: 27 field1=value1&field2=value2 /your-script.php = what resource is the data submitted to 
    HTTP/1.1  - protocol used  (note that some web servers default to HTTP 2.0 and may refuse unencrypted connections)
    Host:  = required,  servers can host multiple domains  on same IP address, as well as subdomains, so the web server needs to know what domain the resource is on 
    Accept:  = (optional) , tells the server that you can only support receiving html , it should not answer with binary data (ex a picture)
    Content-Type:  required, you tell the server that some parameters from a form were encoded and now are sent to the server
     
    Origin and Referer = optional, some servers will have anti hacking protections and will not accept connections that say the data was submitted from another domain. 
     
    Content-Length = the length in bytes of the data you're gonna submit 
    after this, you leave one line empty then send the actual content and an empty line and close connection.. 
     
    .. btw you have the developer tools in any browser.
    load a page with a basic form, then Press F12 , move to the network tab, then in back in page with form post something  (ex type a text in a basic form and and hit submit button)  , You'll see the post request in developer tools, click on it and you see there the request and the response.
     
    See also https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST
     
  3. Agree
    theereal got a reaction from TukangUsapEmenq in is 70-80 C temp while gaming okay?   
    Considering heavy load and stock cooler 80 degrees is quite respectable. Nothing to concern yourself about.
  4. Agree
    theereal got a reaction from Somerandomtechyboi in is 70-80 C temp while gaming okay?   
    Considering heavy load and stock cooler 80 degrees is quite respectable. Nothing to concern yourself about.
  5. Agree
    theereal got a reaction from levitate999 in is 70-80 C temp while gaming okay?   
    Considering heavy load and stock cooler 80 degrees is quite respectable. Nothing to concern yourself about.
  6. Like
    theereal got a reaction from MrBalu_ in My new pc need your suggestions   
    Completely agree, imo the difference in resolutions on small monitors is not really noticable to myself atleast so i prefer to target high frame rates. Much smoother experience all the way!
  7. Like
    theereal got a reaction from Chiranjeet Bhattacharya in For primarily gaming do 9900K should be upgraded to 5000 series Ryzen CPU   
    No, the 9900K is already overkill for gaming and is MORE than enough for even 4K gaming. So youre good for a awhile. (assuming you have the 9900k already and youre considering an upgrade)
  8. Like
    theereal reacted to kb5zue in Unable to allocate more space to C: Drive   
    Did you try to format it first?  If not, it will need to be formatted the same as the other partition so from what I could see, you might need to format it using the NTFS format type.
     
  9. Like
    theereal reacted to kb5zue in Unable to allocate more space to C: Drive   
    No, not the c: drive.  The part you want to merge.  You can not merge two different types of formatted space.  Examples are NTFS, GPT and several others.  You can not merge an NTFS partition with a GPT partition.
  10. Like
    theereal reacted to kb5zue in Unable to allocate more space to C: Drive   
    To ensure that I don't screw things up when doing these types of things such as merging, creating, partitioning, etc., I use the AOMEI Partition Assistant.  It's free and easy to use.  Here's a link:
     
    https://www.disk-partition.com/download-home.html
     
  11. Like
    theereal reacted to kb5zue in Unable to allocate more space to C: Drive   
    Sort of....  To format the space on a drive it must only be partitioned.  But during the partition process it will be allocated.  When you partition the drive, it will assign a drive letter to it.  As an example, when you partition the space you are talking about, it will partition it to "Drive D", then, after it is then partitioned and the drive letter assigned, you will be able to format the drive using the appropriate type of format.  In this case, NTFS.  Then, once the drive is then formatted, you can "merge" drive D: with Drive C: thereby enlarging the overall space assigned to Drive C:.
     
  12. Like
    theereal reacted to kb5zue in Unable to allocate more space to C: Drive   
    You just have to remember that each operation is a different step in the process.  In the top left corner of the Partition Manager software is an "Apply" function.  So what you would do is click on the space you want to work with and select the function to partition.  Then click "apply".  Then go back to that same space and do the function to format and then click apply again.  You can do the steps one at a time or with some of them you can select a couple of functions and then click "apply" and it will perform all the functions one at a time until they are all complete.
     
    Once it is all complete, then you have to reboot the system for the changes to take effect/affect.
  13. Like
    theereal reacted to kb5zue in Unable to allocate more space to C: Drive   
    It isn't hard to do, just screwy to get the processes in the correct order not forgetting about the apply function.  After you have done it a couple of times and you get familiar with it, you will better understand the process and how it works and in which order each function takes place.
     
  14. Like
    theereal reacted to kb5zue in Unable to allocate more space to C: Drive   
    The software won't let you mess up.  If you try to do something out of order, it will let you know.  That is one thing that I like about that software.
     
  15. Like
    theereal reacted to kb5zue in Unable to allocate more space to C: Drive   
    No problem.  I am in California and will be home for about 15 more minutes.  After that I need to run an errand to go pick up a machine from a guy here in town that is looking for some repairs.  I repair computers in my town to keep me busy and to maintain some knowledge about what I'm doing and I don't charge for my labor.  Only parts.  I'm not rich by any means but the bills get paid using my retirement funds and I like to help people that can't afford to pay for computer services.  Current rate here where I am is $65 to $80 an hour and the majority of people here can't afford that.
     
  16. Like
    theereal reacted to kb5zue in Unable to allocate more space to C: Drive   
    One last thought though.  As with any major operation like you are undertaking, don't forget to back up copies of all your important files and data such as documents, pictures, letters, etc.  Always try to be prepared for the worst, no matter what you're doing.
  17. Like
    theereal reacted to kb5zue in Unable to allocate more space to C: Drive   
    yes but you may have to format the unused space before you merge.  Not quite sure right off the top, it's been a few months since the last time I did it.  Don't forget to hit the apply thing up in the top left corner of the screen.
     
  18. Informative
    theereal reacted to DrJones in Streaming PC to TV In living room   
    Nope, use it with my pre-smart TV's Samsung 
  19. Like
    theereal reacted to typographie in why all of that hate about christianity and christians ?   
    Why does it have to be all or nothing? There is Christianity, and then there are extremists, just as there are in any religion. It's not anti-Christian, it's anti-extremism. One of the protagonists appears to be a pastor, so there are Christians on both sides:
     
    Also, you have a really warped and disturbing understanding of Islam to draw that conclusion.
  20. Informative
    theereal reacted to Simon771 in Upgrading rig, need advice   
    PSU if fine, CPU cooler is fine, you can also keep same case I guess.
     
    You only need:
    SSD: Samsung evo 850
    Motherboard: Z170 krait / Z170 pro gaming / deluxe (whatever you can afford)
    And some DDR4 ram ... 16GB is a new standard  
     
    Is it worth buying over ebay? Well you can get it for half the price, but you will have to pay import taxes and charges. At least I had to when I was ordering anything worth more than 50$. Also there are scammers on ebay, so if you decide to buy from ebay, look for seller that have a lot of feedbacks on that particular GPU that you are buying.
    About GTX 1070 ... just get any version that you can afford. They will all perform the same. I would get one with 2 or more fans, that's for sure.
     
    And I agree with you buying K version of CPU even if you don't want to overclock (yet).
    Maybe after some time you will feel more comfortable and push that CPU to it's limits  
  21. Like
    theereal reacted to Simon771 in Upgrading rig, need advice   
    If seller have high reputation, it should be fine.
    You are also covered by ebay and paypal + you can always request chargeback from your bank.
  22. Like
    theereal got a reaction from Simon771 in Upgrading rig, need advice   
    Allrightie, thanks for the help
     
  23. Informative
    theereal reacted to Murasaki in Cannot open anything   
    Tried Safe Mode? Never heard of such behavior.
  24. Funny
    theereal got a reaction from BHS4K in 2 gamers 1 CPU   
    "2 Gamers 1 CPU" sounds like something completely different
  25. Like
    theereal got a reaction from Moonzy in USB Port Cannot Provide Enough Power   
    I have one, but cannot find It, will keep looking Thanks
×