FAQ Database Discussion Community


What are bots trying to do by hitting my website?

ip,bots,hacking
At the end of each month my company sends out web statistics to show who was accessing our website, where they were from, their IP addresses, etc. Our site is very specific to my region of the United States, yet a lot of our traffic comes from Ukraine, France, Russia,...

Block request for multiple unsuccessful logins for a period of time

c#,asp.net,security,bots
I have a web site and I want to block request from BOTs and attempt brute force login to my web site. Now I'm using Session for storing login attempt and show captcha after 3 unsuccessful login but there is a problem.Session will be removed, if user closes the browser....

Is it possible to cause a webpage, say a HTML5 game to simulate a key press with Javascript?

javascript,html5,artificial-intelligence,bots
I am new to JavaScript and programming in general. I will try to explain what I want to do as best I can. I have a very similar question to this guy, but I would like to do it in JavaScript as I somewhat know how to use it. Need...

How to extract multiple prices (ex: “$46.99”) from a string [duplicate]

php,string,curl,int,bots
This question already has an answer here: Extract dollar amount from string - regex in PHP 4 answers Input: string = "10 New from $9.00 40 Used from $0.74"; Desired output: $new = 9.00; $used = 0.74; I pulled the prices of a book from the source code of...

Win32 API, Get Child Windows for Game

c++,vb.net,winapi,bots
I'm using this code to get the child windows of all open processes. The code itself is working correctly, I get a 2 dimensional list of handles. Each index has a list of handles to the child windows of a specific process. I'm trying to get a child window of...

Are there other ways for an asp .net page to identify bots without using captchas?

asp.net,captcha,bots,asp.net-webpages
I have always seen web pages using captchas to do this, but I wonder if there are other methods...

PHP web crawler, check URL for path

php,url,path,web-crawler,bots
I'm writing a simple web crawler to grab some links from a site. I need to check the returned links to make sure I selectively collect what I want. For example, here's a few links returned from http://www.polygon.com/ [0] http://www.polygon.com/2015/5/15/8613113/destiny-queens-wrath-bounties-ether-key-guide#comments [1] http://www.polygon.com/videos [2] http://www.polygon.com/2015/5/15/8613113/destiny-queens-wrath-bounties-ether-key-guide [3] http://www.polygon.com/features so link 0 and...

Couple of questions about robots and content blocking

php,seo,bots,robots.txt
I'm configuring the robots.txt file for robots, and can't really understand what dirs I should block from them. Of course, I've read some infos at the internet, but yet there's some gap between what I want to know and what I've been found so far. So, it would be nice...

Strange security issue - why would this happen? [closed]

forms,security,bots,spam,hacking
I work for a company which handles some websites that have educational forms prospective students can fill out if they wish to be contacted by a college. We have attempts coming in from two overseas countries, which are continually filling out and attempting to submit forms using ridiculously bogus information....

How To Make Chat Bot In Batch

batch-file,chat,bots
I want create a chat bot progrom in batch. The chat bot responds to different keywords. For example: If you said Hi, bot. Then it takes the keyword "Hi" and then responds with something like: Hello, What Is Your Name? Here is my code: @echo off color 0a title Chat...

How can I find a Uniform Resource Identifier?

html,.net,http,bots
I understand that a URI is the combination of a URL and URN. The URL is the easy part, but I do not know where to look for the URN. Can this be found in the html of a specific page? How then is the proper way to concatenate the...

How to handle bots attack on Amazon EC2

apache,amazon-ec2,bots,cloudflare,ddos
I'm experiencing the following problem: we host an ecommerce on an Amazon EC2 medium instance with an RDS db instance, that normally run great, but because we work with product timed "releases" some users are using bots to automatic add items to basket and checkout them, causing the website to...

Pyautogui click not clicking properly

python,click,bots
in this code: temp = None while temp == None: temp = pyautogui.locateOnScreen("Play_Button.PNG") play_buttonx, play_buttony = pyautogui.center(temp) pyautogui.click(play_buttonx, play_buttony, duration = 0.3) The pointer heads to the center of the button and stops! I tried the win32api + win32con, still it didn't work, I tried setting "clicks" to a different...

Automatizing web browser form filling in Python

python,scripting,bots
Question: Hi. I am a beginner trying to learn Python, and for one of my first projects I want to write a script that will fill out a survey automatically for me. I am familiar with coding, and I have most of the code written to solve this problem. What...

Python IRC bot for Twitch receiving two messages in one output

python,chat,bots,irc,messages
So I've created a Chat bot for Twitch.tv which has been working fine for multiple months until a couple of days ago. Either the chat is too flooded or twitch changed something with the way they send messages. Either way, in every message received I add a new line when...

How to block the link from malicious bot visitors?

javascript,hyperlink,block,bots,nofollow
I'm producing an event registration website. When someone click on a link: <a href="/reserve/10" rel="nofollow">Reserve id=10 event</a> The system is doing a "lock" on this event for ten minutes for this visitor. In that case no one else can reserve this event in next ten minutes. If the payment is...

Automated data retrieval from website using POST not working due to http 405 error

python,ruby,perl,http-post,bots
I'm working on something similar to Automate data retrieval from a web site using a Ruby web bot to automate a script to get the data from result website (submit a roll no and get the result). I'm using Ruby here and using the POST method to submit the roll...

Outputting with Willie bot doesn't work, but print does

python,bots,irc
I am trying to return the output of a command to the IRC channel using Willie bot. My code seems to work outputting my variable line by line, but for some reason once I utilize Willie bots say command to output to IRC it doesn't output anything. Here is my...

How to stop Google Analytics Bots, referral spams in OS Versions, Top Device Models entry for Android

android,google-analytics,bots,referrer-spam
I'm surprise to see statistics in Google Analytics page for one of the Android app and noticed the following strange informations Apple iPhone in Top Device Models Strange OS names entry in OS Versions : Macintosh Intel 10.10 Linux x86_64 Windows 7 (not set) (not set) Note: I have answered...

Python AttributeError: 'str' object has no attribute 'append' (Specific)

python,bots,irc,twitch
Currently having an issue with my Twitch chat bot, this error occurs when the bot picks up JTV sending a flag to op somebody in the channel (Giving them mod permissions). The problem I'm having is that this error sometimes occurs and sometime doesn't. Due to this, I cannot have...

Command filtering

c++,parsing,command,bots,irc
Currently writing an IRC bot for fun and I have some trouble setting up the bot to listen to my commands. ( Works for !quit but not for !join or !leave ) void onPrivMsg(IRCMessage message, IRCClient* client) { // received text std::string text = message.parameters.at(message.parameters.size() - 1); if (text[0] ==...

Python: IRC bot crashes when only prefix is sent

python,bots,irc
I have an IRC bot that crashes when I only send the prefix (!) I understand why it's happening, but I can't figure out how to make it ignore it instead of killing it. Source: https://github.com/SamWilber/rollbot/blob/master/rollbot.py Error: :[email protected]/turtlemansam PRIVMSG #tagprobots :! Traceback (most recent call last): line 408, in <module>...