merbin2012 / sharex

Automatically exported from code.google.com/p/sharex
0 stars 1 forks source link

403 returned from all imgur uploads #347

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Take cropped screenshot.
2. Attempt Upload.
3. Upload fails.

What is the expected output? What do you see instead?
An uploaded image. An error.

What version of the product are you using? On what operating system?
6.4 / Windows 7 Ultimate 64 Bit

Please provide any additional information below.
Fuck imgur.

Original issue reported on code.google.com by lpols...@gmail.com on 11 Apr 2013 at 6:50

GoogleCodeExporter commented 9 years ago
Can you write error message. Because i'm contacting with imgur and need to send 
them error message.

Original comment by flexy...@gmail.com on 11 Apr 2013 at 2:39

GoogleCodeExporter commented 9 years ago
By the way why you using old version of ShareX?

Original comment by flexy...@gmail.com on 11 Apr 2013 at 2:40

GoogleCodeExporter commented 9 years ago
Never received update notification.

Message:
The remote server returned an error: (403) Forbidden.

Response:
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<!--[if lte IE 8]>
    <meta http-equiv="X-UA-Compatible" content="chrome=1">
    <![endif]-->
<!--[if IE 7]>
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
    <![endif]-->
<title>Attention required!</title>
<link media="screen" rel="stylesheet" href="/cdn-cgi/styles/challenge.css"/>
</head>
<body>
<input id="Host" type="hidden" value=""/>
<div id="RecaptchaTip" class="tip hidden">
<span>
This field helps us determine that you are human, and not an automated program 
trying to compromise the security system. </span>
</div>  
<div id="Challenge">
<div id="SuperHead" class="container_12">
</div>  
<div id="Warnings">
<noscript>
<div class="container_12">
<div class="grid_12">
<h2 class="error">JavaScript must be enabled to use this page.</h2>  
</div>  
</div>  
</noscript>
<div id="CookieWarning" class="hidden">
<div class="container_12">
<div class="grid_12">
<h2 class="error">Cookies must be enabled to use this page.</h2>  
</div>  
</div>  
</div>  
</div>  
<div id="Marquee" class="container_12">
<div id="Headline" class="grid_12">
<h1 class="text color_5">One more step to access <span 
class="emphasis">api.imgur.com</span> </h1>
</div>  
<div id="Captcha" class="grid_5">
<form id="CaptchaForm" 
action="/2/upload.xml?__cf_post__=26d6b8dd77cca584a2b853cfb12cf7a7ec2a27f38baae"
 method="post">
<div id="RecaptchaContainer" class="grid_5 alpha omega">
<h4>CAPTCHA:</h4>

<div id="RecaptchaWidget" class="border color_2">
<div class="arrow"></div>  
<div id="recaptcha_image"></div>  
<input type="text" id="recaptcha_response_field" 
name="recaptcha_response_field" class="grid_3 push_1 alpha omega"/>
<ul id="RecaptchaButtonContainer" class="prefix_1 grid_1">
<li id="recaptcha_reload" onclick="javascript:Recaptcha.reload();"></li>
<li id="recaptcha_switch_audio" class="recaptcha_only_if_image" 
onclick="javascript:Recaptcha.switch_type('audio');"></li>
<li id="recaptcha_switch_image" class="recaptcha_only_if_audio" 
onclick="javascript:Recaptcha.switch_type('image');"></li>
<li id="recaptcha_whatsthis"></li>
</ul>
</div>  
<script type="text/javascript">
                            var RecaptchaOptions = {
                                theme: 'custom',
                                custom_theme_widget: 'RecaptchaWidget'
                            };
                        </script>
<script type="text/javascript" 
src="http://www.google.com/recaptcha/api/challenge?k=6LeT6gcAAAAAAAZ_yDmTMqPH57d
JQZdQcu6VFqog"></script>
<noscript>
<iframe 
src="http://www.google.com/recaptcha/api/noscript?k=6LeT6gcAAAAAAAZ_yDmTMqPH57dJ
QZdQcu6VFqog" height="300" width="500" frameborder="0"></iframe><br>
<textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
<input type="hidden" name="recaptcha_response_field" value="manual_challenge">
</noscript>

</div>  
<div id="OptionalMessage" class="grid_5 alpha omega">
<h4>Optional message for site owner (<span id="OptionalMessageStatus">100 
characters max</span>):</h4>
<textarea id="Message" name="message" rows="6" cols="50"></textarea>
<input type="hidden" id="act" name="act" value="captcha"/>
</div>  
<div id="Submit" class="grid_5 alpha omega">
<div class="button">
<div class="color"></div>  
<div class="mask"></div>  
</div>  
</div>  
</form>
</div>  
<div id="Screenshot" class="push_1 grid_6">
<img src="http://cdn-static.cloudflare.com/images/thumbs/458-api.imgur.com.png" 
style="background: #ccc;" width="458" height="300" alt="api.imgur.com" 
class="border color_2"/>  
</div>  
</div>  
<div id="Evidence">
<div class="content">
<div class="container_12">
<div id="EvidenceToggle" class="grid_12">
<h3>View advanced details and evidence regarding your restriction</h3>
</div>  
<div class="evidence grid_12">
<h3>Your action has triggered the website's security system because of a phrase 
or content in your submission. Often automated bots will try to post spam 
campaigns (like ads for Rolex watches or medications) or injection attacks on 
websites. This website is taking precaution to stop these automated threats. If 
you are reading this, then you are likely a human trying to post a comment or 
log in to the website. Continue by entering the CAPTCHA.</h3>
</div>
</div>  
</div>  
<div class="shadow"></div>  
</div>  
<div id="LowerFold" class="container_12">
<div class="grid_6">
<h2>What happened?</h2>
<p>The security system for this website has been triggered because of a phrase 
or content in your submission. If you are reading this, you are most likely a 
human visitor trying to log in or post a comment that triggered the system.</p>
</div>  
<div class="grid_6">
<h2>When will this restriction go away?</h2>
<p>This restriction will disappear when your computer or mobile device is 
cleaned and no more harmful behavior is detected. Completing the challenge 
above proves you are a human and gives you temporary access. You can ask the 
website owner to permanently whitelist you.</p>
</div>  
</div>  
<div id="Footer" class="container_12">
<div class="grid_6 push_3">
Your IP: <a id="FooterIP" 
href="http://projecthoneypot.org/ip_2601:9:2180:89:c584:8953:6d1a:c76f">2601:9:2
180:89:c584:8953:6d1a:c76f</a>  ·  <a id="FooterHelp" 
href="http://www.cloudflare.com/help" 
target="_blank">Help</a>  ·  Performance & Security by <a 
id="FooterCloudFlare" href="https://www.cloudflare.com" 
target="_blank">CloudFlare</a>
</div>  
</div>  
</div>  
<script type="text/javascript" 
src="/cdn-cgi/scripts/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="/cdn-cgi/scripts/cf_challenge.js"></script>
</body>
</html>

StackTrace:
   at System.Net.HttpWebRequest.GetResponse()
   at UploadersLib.Uploader.UploadData(Stream dataStream, String url, String fileName, String fileFormName, Dictionary`2 arguments, CookieCollection cookies)

Original comment by lpols...@gmail.com on 11 Apr 2013 at 2:57

GoogleCodeExporter commented 9 years ago
Can you try latest ShareX because it using new imgur api.

Original comment by flexy...@gmail.com on 11 Apr 2013 at 2:58

GoogleCodeExporter commented 9 years ago
Yep, sec.

Original comment by lpols...@gmail.com on 11 Apr 2013 at 3:00

GoogleCodeExporter commented 9 years ago
Latest version seems to bypass the 403, thank you.

Original comment by lpols...@gmail.com on 11 Apr 2013 at 3:01

GoogleCodeExporter commented 9 years ago

Original comment by flexy...@gmail.com on 11 Apr 2013 at 3:03