phpseclib references to $this->bitmask should be $this->bitmap? - phpseclib

Shouldn't references to $this->bitmask in fact be $this->bitmap? Noticed in the last download of phpseclib that there are a couple references to $this->bitmask which is not defined at the beginning of the class. We use $this->bitmap for disconnect detection and noticed it stopped functioning.

Looks like this has been fixed in the new-as-of-today 0.3.6 release. It was fixed in git three months ago whereas the 0.3.5 release was released 9 months ago.
https://github.com/phpseclib/phpseclib/pull/167
Also, for bug reports / code improvements you'd probably be better off posting in the github.com project than on stackoverflow.

Related

Is it possible to use latest OWASP CRS rules in CloudArmor

CloudArmor appears to use OWASP CRS 3.0.1 rules which are now pretty dated (last update around 4 years ago). CRS is now on V3.3 and V3.4 is in development.
Is there a way to take the new rules from coreruleset Github Repo and import into CloudArmor? Does Google have plans to update to the newer set by default?
Main driver is that some of the rules are very dated or unworkable. For example scanner detection triggers on "python-requests" as a User-Agent and this is no longer checked for in latest V3.3 ruleset.
If this has not been solved yet: I think Google does not give you the chance to pick for yourself.
Also, it's a commercial support question that should probably be directed there.

ColdFusion 5 setup files

I am trying to install ColdFusion 5 but it looks like data2.cab file is missing from my copy. I understand on Adam Cameron's Dev Blog he had a copy of Coldfusion 5 from the document he wrote about installing it on Windows 7 64bit. Does anyone have a copy of the software please?
You can find installers for older versions of ColdFusion on a community maintained site: http://www.cfmlrepo.com/
I doubt you'll be able to get it up and running reliably as it's a 32-bit installer and won't run on modern Windows. It's pre-Java, so you'll also have issues with C compatibility for things like custom CFX tags. If you've got an old OS on a server somewhere, maybe you can do something with it.
What problem are you trying to address? Working on a legacy application? CF 5 should no longer be running any kind of production sites as there are a world of security issues given the modern Internet.
If possible, I'd suggest trying to run the code on the open source Lucee CFML engine https://www.lucee.org/. Depending on the complexity of your application, it won't just be a matter of setting up data sources and running the code. But in the long run, if this app needs to exist for a while more, it'll be a safer and less expensive solution.
If you have more questions about CF 5, you'll probably find more help on the CFML Slack channel. You can get an invite here: https://cfml-slack.herokuapp.com/

Is there a modification of django framework in the last 24 hours?

We experienced strange behaviour. Especially under chrome, some items are missing. Anyone ?
Which version are you using? You should always pin the version you use, which means that once it's published, it will never change.
The code is open source, you can check yourself from the github repository and there are other more appropriate channels than Stack Overflow, IMO:
The Django weblog, where a post is published each time there is a new release.
The Django users mailing list/google group is another place where you can keep up to date.
PyPI gives you the release history.
Finally, with any open source software, don't be afraid of digging into the source code and see what has changed. Github has a great way of comparing between 2 tags, for instance for the latest 2 1.11.x relases: https://github.com/django/django/compare/1.11.16...1.11.17
There was 2 new bugfix relases published on each 2.1.x and 1.11.x branches yesterday, so if your dependencies aren't pinned, you might have auto-updated, but without further details it's hard to tell you more.

Eclipse for C/C++ Oxygen version sometimes doesn't react on Ctrl+click [duplicate]

This question already has answers here:
Hyperlink navigation via Ctrl+click in Eclipse Oxygen does not work
(2 answers)
Closed 5 years ago.
I have an issue with new version of Eclipse (CDT). I had previously Eclipse Neon. It worked fine, but I noticed a new version, Oxygen, and wanted to use it.
I downloaded Eclipse Oxygen and started it. It said that my version of workspace was created with older version of Eclipse and it must update the workspace to new version. I agreed.
After that, when I was walking through my code, I noticed that in some classes, when I press Ctrl-left-click on class name, it doesn't jump to the class definition. I am sure that it worked fine previously with Neon. I also know that I can use F3 instead of Ctrl-left-click, but I like clicking and dont' want to search for the F3 key on the keyboard every time (it is faster for me to press Ctrl and click on the class name). Surprisingly, in other places of my code, the functionality of Ctrl-left-click still works as expected. I don't know what happened. Something is clearly broken.
I checked if creating workspace from scratch helps, but not, when I removed .metadata directory and created everything again, the problem still exists. In some places Ctrl-left-click works, in other not. F3 always works.
It is very annoying. I remember that I had this problem before when I was upgrading my Eclipse, downloaded a new version and this Ctrl-left-click stopped working. So it is not only about the Oxygen version. I am wondering - do I do something wrong here?
Did you have a similar problem before? I tried googling the problem but with no success.
This sound like Eclipse bug 517610.
See comment 5 for a workaround:
To work around the problem, you can disable the Change Log hyperlink by going to Window > Preferences > General > Editors > Text Editors > Hyperlinking, then untick "Changelog Detector".
The bug fix is scheduled for Oxygen.1, which will be released on September 27th 2017. Alternatively, you can update to latest development build (which should already contain the fix) via the update site http://download.eclipse.org/tools/cdt/builds/master/nightly.

Is libdmtx dead, suggested replacement?

I've been using libdmtx in a project and looking to update to a newer version, but it seems the project hasn't been updated in well over a year. The last update/version was June, 2011. The Git repository shows that the last commit was August, 2011. Finally, the author's web site, which previously promoted libdmtx, Dragonfly Logic, is dead with a 404 Not Found error.
Is there another data matrix library that can meet this criteria?
Open source
Platform-neutral C/C++ (i.e. can build for Windows, POSIX environments)
Encodes/decodes data matrix
Actively maintained
Alternatively, did libdmtx move somewhere else and continue to get maintained somewhere that I'm not aware of?
I can't say that I'll never develop on libdmtx again, but it certainly wouldn't be anytime soon. I simply don't have the spare hours anymore to even keep up with the correspondence, let alone to perform any meaningful development.
So if you wish to fork it, you have my blessing. :)
Unfortunately I'm not aware of any other open source packages that do exactly the same things as libdmtx (which is why I created it in the first place), but I tried to list any similar projects I came across at http://libdmtx.sourceforge.net/resources.php
Good luck!
As libdmtx is currently unmaintained (I wouldn't say dead, as there are several users of the library) one should have to look at options.
zxing-cpp is a viable alternative. It can code and decode both DataMatrix, QR codes and barcodes. It compiles both on windows and posix, and are open source (Apache 2)
My only complaint about the zxing-cpp library is that is doesn't support dot peen generated data matrix images.
This Github project has revived libdmtx in 2016 with sporadic but ongoing activity since then: https://github.com/dmtx
(I am not affiliated with this project, just wanted to add an update to this question after finding it in a search.)