« first day (2476 days earlier)      last day (2472 days later) » 

11:01 PM
@WesStark the more common case is probably numeric string->int
 
yeah
 
my desktop's wireless card is starting to work intermittently.
GDI.
 
@WesStark there's more than that missing, there's a null byte after "anonymous" followed by an identifier.. simpler example is throw new Exception("XXXX\0YYYY");
 
you have a PCIe thing or just a USB dongle?
 
11:17 PM
@PaulCrovella got it, but yeah it's especially annoying with anon classes. so the problem is only in that __toString function?
 
the exception's __toString that is not properly escaping the null byte
or whatever the problem is. it's truncated there
 
@tereško pcie
 
Can someone help me here plz? stackoverflow.com/questions/45362456/…
 
@WesStark i think it might be truncated in a couple places
 
11:26 PM
@tereško oh, do you think cleaning the slot could help? I must say that motherboard could use a bit of love
 
@FélixGagnon-Grenier some compressed air :D and plug it in a different slot (if that's an option ... assuming your case is not one of those shitty ones, with break-out brackets)
 
I'm pretty sure it's one of those shitty one
 
hello
i think my website is being attacked, i am getting around a thousand emails from the contact form on my website every 10 minutes
how do i track which ip is sending it?
i have access to ssh, dont know where exactly to look at
 
@JapanGuy you can look in the apache's access logs
(I assume you are running apache, since you did not know, that you should specify that)
you can grep the access logs by the contact form's query
 
@tereško oh yeah sorry about that i run it on apache
 
11:37 PM
/var/log/something.../access.log
that something can be "apache2" or "httpd" or something similar
@Fabor did you just ask about ordering that case in one shop or multiple ones?
 
@JapanGuy maybe take down the contact form while you look
 
@tereško thanks found the access.log
@FélixGagnon-Grenier i limited the access to website to my ip but it is still loading very very slowly
taking minutes to load and sometimes shows the 502 gateway error message
 
take a look at processes
it might be that sendmail is screaming its little heart out
 
@tereško would that be a ps aux command?
the server runs on debian
 
hell .. start by just looking at "top"
 
11:46 PM
@tereško sorry to bother you but here it is
 
you dont seem to be running php-fpm
am I correct?
 
i thought i did.
ps aux | grep php-fpm
root 18576 0.0 0.0 7728 940 pts/0 S+ 02:49 0:00 grep php-fpm
@tereško
 
@JapanGuy service php-fpm status
 
@tereško php-fpm: unrecognized service
i guess not then
 
can you restart apache?
 
11:52 PM
@tereško just did
oh the website is working fast again
 
next, start hunting down the IP in access logs
and then fix the contact form
you can add captcha or a honey-pot field or create a time-limit per IP
 
@tereško thanks. The client was complaining that he had been receiving a few spams every day from chinese website from our contact form. i implemented the recaptcha yesterday, and the guy said that recaptcha asks to solve it every time he was clicking it, and he asked me to remove it
and then 12 hours later the same spammers are doing this
 
Please guys, I need some help here: stackoverflow.com/questions/45362456/…
 

« first day (2476 days earlier)      last day (2472 days later) »