discuss AT lists.opennicproject.org
Subject: Discuss mailing list
List archive
- From: "Dmitry S. Nikolaev" <dn AT mega-net.ru>
- To: discuss AT lists.opennicproject.org
- Subject: Re: [opennic-discuss] This is my %#$ rant
- Date: Tue, 12 Sep 2017 12:45:46 +0300
- Organization: OOO Meganet-2003
Hi Al. And what about this ? If you are talking about existing code - provide full code.If you are talking in the abstract - I don`t understood what you mean. Ofc that you need "straight hands" and "brain not in the ass" :) when you doing by yourself. With best regards, Dmitry S. Nikolaev Moscow, Russia phone: +7 (499) 678 8007 [ext. 6003] fax: +7 (499) 678 8007 [ext. 7777] www: http://www.mega-net.ru mail: dnikolaev AT mega-net.ru SIP URI: dnikolaev AT sip.mega-net.ru || dn AT sip.mega-net.ru On 12.09.2017 09:19, Al Beano wrote:
What about [b _onclick_="myevilscript()"]? Use a proper BBCode library, there's scope for so much to go wrong if you do it yourself. On 12 September 2017 04:21:34 BST, "Dmitry S. Nikolaev" <dn AT mega-net.ru> wrote: If you want to allow to use HTML tags, so do it by replacement to bbcodes. <b>to [b] <div> to [div] and so on + always use htmlspecialchars function on all user input. It`s safe to use this way. With best regards, Dmitry S. Nikolaev Moscow, Russia phone: +7 (499) 678 8007 [ext. 6003] fax: +7 (499) 678 8007 [ext. 7777] www: http://www.mega-net.ru mail: dnikolaev AT mega-net.ru SIP URI: dnikolaev AT sip.mega-net.ru || dn AT sip.mega-net.ru On 11.09.2017 20:31, Jeff Taylor wrote:Perhaps, but my mind went to basic HTML tags like <b> and <div>... sure you can enter styles and screw with the page formatting, but otherwise there's nothing dangerous there. Also... was sick, still sick, wasn't thinking clearly. So as I said, never assume anything is 'obvious'. On 09/11/2017 10:58 AM, Al Beano wrote:If <marquee> tags are available should it not follow that <script>tags and other JS attributes are also allowed?On 11 September 2017 17:55:12 BST, Jeff Taylor<shdwdrgn AT sourpuss.net> wrote:I appreciate the offer. It's not really a matter of not being*able*to fix it, I'm fairly fluent in PHP and its shortcomings in many ofitsfunctions that don't quite live up to their names, it's more amatterof having the problem pointed out to me. If someone had just said"hey wecan enter <script> tags in the fields", it would have immediately clicked that yes, this is a very very bad thing, and I would have locked it down right away. On 09/11/2017 02:04 AM, Dmitry S. Nikolaev wrote:Hi Jeff. First of all get well and be healthy. I did not quite understand who did and what did, but I understoodthatsomeone hack something. I dont see any discussion about it. If it is PHP code, so maybe I can help you. Write if you needhelp.Wewill see what we can do. Good luck ! With best regards, Dmitry S. Nikolaev Moscow, Russia phone: +7 (499) 678 8007 [ext. 6003] fax: +7 (499) 678 8007 [ext. 7777] www:http://www.mega-net.ru mail:dnikolaev AT mega-net.ru SIP URI:dnikolaev AT sip.mega-net.ru ||dn AT sip.mega-net.ru On 11.09.2017 07:52, Jeff Taylor wrote:Last night I got an ear infection plus bad acid reflux and didn'thardly sleep at all. So you can imagine my state of mind when Igotup this morning to find a discussion between T1 and T2 operators talking vaguely about an exploit they found in the servers page,andthe page itself broken and not providing usable info. It took mequite awhile to dig through everything and determine exactly whatwasdone and start working towards repairing the intentional damage. OK, it's a fair point that I didn't properly sanitize the input.However we're talking about a page that has been online for thepasttwo years without any problems, but for some reason you decidedthatimmediate action must be taken right this very second. And not asingle one of you assholes had the courtesy to even send me a PMtosay "hey we found this problem in your page and these are theactionswe took." Seriously, I know some of you newcomers are in yourteens,but do you really have to ACT like it? This is a communityproject,it exists because people in the past have worked *together* tosolveproblems. It's not a hacking contest to see who can blow up each other's contributions. There have been a lot of complaints about my code in the past.Yes Iwrite in Bash and PHP, and yes my code isn't going to be theeasiestto read. There's also the constant complaints that I don't postmycode on repo-of-the-week, which I've discussed several times onIRCbut nobody seems to care. Just how many 'official'source-hostingpages has opennic been through? We've been in sourceforge, butwedon't trust them now. What was the one that did SVN? And ofcoursethere's the numerous local repos that people have run over theyearswhich up and disappear one day without warning. I've submitted afair chunk of my code at least twice. And poof, there's noevidenceremaining that it ever existed. I have limited time to work on opennic, but I've churned out an incredible amount of code for the project over the years. Thereisvery little of opennic's infrastructure that I haven't had a handinor written completely from scratch. Everybody that comes throughalways has their own ideas on how things should be done, whatchangesneed to be made, and yet almost none of those people haveactuallycontributed anything. Opennic owes its very existence to thosefewpeople such as myself who have dedicated months or years of programming time to provide the services that everyone else usesonadaily basis. There is a huge amount of code in the backgroundthatIpersonally own and have to troubleshoot when things go wrong. I spend what time I can either fixing the larger problems or tryingtoset up new code to provide features. I have dedicated timenearlydaily to making sure things run smoothly or fixing whatever is broken, and the thanks I get is "hey lets fuck up his shit andseehow long it takes him to figure it out." Real mature. If anyone wants a copy of my working code, I have always beenhappyto provide it. It may take me some time to get it together, butI'vealways given it. And I would love to have others help cleanthingsup, especially the registrar code behind reg.for.free.Unfortunatelythe only feedback I have ever gotten is "I don't like yourstandarduse of single- and double-quotes... here's a rewrite to quotethingsMY way." I don't have time to keep learning a new repo systemeveryyear or two and I no longer have the patience to care, but ifsomeoneelse wants to do the deed I've already mentioned many times thatIamhappy to help work with them. I've been thinking about this all day and I'm still pissed, and apparently still can't even coherently express my frustration, soletme summarize... Grow the fuck up and learn how to actually workwithother people who are in different times zones. People havepointedout bugs in my code before, and I almost always get them fixedwithina day or two. Yeah I make mistakes, I know this and I knowenoughtounderstand the problem when they are pointed out, assuming you actually give me the chance. -------- You are a member of the OpenNIC Discuss list. You may unsubscribe byemailingdiscuss-unsubscribe AT lists.opennicproject.org-------- You are a member of the OpenNIC Discuss list. You may unsubscribe by emailingdiscuss-unsubscribe AT lists.opennicproject.org-------------------------------------------------------------------------------- You are a member of the OpenNIC Discuss list. You may unsubscribe by emailing discuss-unsubscribe AT lists.opennicproject.org-------- You are a member of the OpenNIC Discuss list. You may unsubscribe by emailingdiscuss-unsubscribe AT lists.opennicproject.org-------- You are a member of the OpenNIC Discuss list. You may unsubscribe by emailingdiscuss-unsubscribe AT lists.opennicproject.org ------------------------------------------------------------------------ -------- You are a member of the OpenNIC Discuss list. You may unsubscribe by emailing discuss-unsubscribe AT lists.opennicproject.org -------- You are a member of the OpenNIC Discuss list. You may unsubscribe by emailing discuss-unsubscribe AT lists.opennicproject.org |
- Re: [opennic-discuss] This is my %#$ rant, (continued)
- Re: [opennic-discuss] This is my %#$ rant, Jeff Taylor, 09/11/2017
- Re: [opennic-discuss] This is my %#$ rant, Dmitry S. Nikolaev, 09/11/2017
- Re: [opennic-discuss] This is my %#$ rant, Jeff Taylor, 09/11/2017
- Re: [opennic-discuss] This is my %#$ rant, Al Beano, 09/11/2017
- Re: [opennic-discuss] This is my %#$ rant, Mitch Roote, 09/11/2017
- Re: [opennic-discuss] This is my %#$ rant, Jeff Taylor, 09/11/2017
- Re: [opennic-discuss] This is my %#$ rant, Daniel Shirley, 09/11/2017
- Re: [opennic-discuss] This is my %#$ rant, Jeff Taylor, 09/11/2017
- Re: [opennic-discuss] This is my %#$ rant, Jeff Taylor, 09/11/2017
- Re: [opennic-discuss] This is my %#$ rant, Dmitry S. Nikolaev, 09/12/2017
- Re: [opennic-discuss] This is my %#$ rant, Al Beano, 09/12/2017
- Re: [opennic-discuss] This is my %#$ rant, Dmitry S. Nikolaev, 09/12/2017
- Re: [opennic-discuss] This is my %#$ rant, Al Beano, 09/12/2017
- Re: [opennic-discuss] This is my %#$ rant, Dmitry S. Nikolaev, 09/12/2017
- Re: [opennic-discuss] This is my %#$ rant, Al Beano, 09/12/2017
- Re: [opennic-discuss] This is my %#$ rant, Dmitry S. Nikolaev, 09/12/2017
- Re: [opennic-discuss] This is my %#$ rant, Mitch Roote, 09/11/2017
- Re: [opennic-discuss] This is my %#$ rant, Al Beano, 09/11/2017
- Re: [opennic-discuss] This is my %#$ rant, Jeff Taylor, 09/11/2017
- Re: [opennic-discuss] This is my %#$ rant, Dmitry S. Nikolaev, 09/12/2017
Archive powered by MHonArc 2.6.19.