Log message #4184313

# At Username Text
# Apr 24th 2019, 11:18 neon1024 Oh, for testing. I missed that bit
# Apr 24th 2019, 11:18 neon1024 So it would open an attack vector
# Apr 24th 2019, 11:17 neon1024 As it’ll execute commands with the same permissions as PHP
# Apr 24th 2019, 11:17 neon1024 Isn’t `exec()` dangerous
# Apr 24th 2019, 11:14 narendravaghela thanks @admad
# Apr 24th 2019, 11:13 admad exec()
# Apr 24th 2019, 11:13 narendravaghela I agree, this is just for some tests
# Apr 24th 2019, 11:10 Martin` because then it runs in webserver? not really in shell?
# Apr 24th 2019, 11:10 Martin` why run a shell from controller?
# Apr 24th 2019, 11:08 narendravaghela ``` $shell = new ShellDispatcher(); $shell->run(['cake', 'foo']); ```
# Apr 24th 2019, 11:08 narendravaghela The shell can be executed from controller by using ShellDispatcher, is there anything similar for Command?
# Apr 24th 2019, 11:05 narendravaghela How do I execute Command from Controller action?
# Apr 24th 2019, 10:11 neon1024 As I’m reading https://github.com/paragonie/ciphersweet/tree/master/docs
# Apr 24th 2019, 10:10 neon1024 Or would that be a plugin which provides a new crypto engine?
# Apr 24th 2019, 10:10 neon1024 Will CakePHP 4 be moving from AES256 to libsodium?
# Apr 24th 2019, 09:48 np ok, danke :slightly_smiling_face:
# Apr 24th 2019, 09:39 dereuromark https://github.com/dereuromark/cakephp-tools/blob/master/src/Controller/Component/CommonComponent.php#L184 should work
# Apr 24th 2019, 09:38 dereuromark php issue, do not merge this way. if you debug this array you will now why.
# Apr 24th 2019, 09:35 np Hello, quick question; How to add passed params to html link helper:
# Apr 24th 2019, 08:37 asdfgh should i "normalize" it ?
# Apr 24th 2019, 08:37 asdfgh i can have 1-2019-01-01 or 12345678-2019-01-01 in this way the length vary
# Apr 24th 2019, 08:37 asdfgh the hash will be longer but all the hashes will have the same length
# Apr 24th 2019, 08:36 asdfgh i have to hash stupid things like ID-DATE somethin like 1235-2019-01-01 the question is, should i hash it or not? i mean does it matter to have a field with the same length in mysql ?
# Apr 24th 2019, 08:36 asdfgh hello
# Apr 24th 2019, 08:02 COOurb how can I use innerJoinWith with query?
# Apr 24th 2019, 07:54 COOurb I need to use Max() function, but it happens thatonly such objects can have it. So I think I can call function right from class
# Apr 24th 2019, 07:53 COOurb ?
# Apr 24th 2019, 07:53 COOurb what type of objectand
# Apr 24th 2019, 07:53 COOurb what find() returns?
# Apr 24th 2019, 07:46 remy Hello, Is there more information about CVE-2019-11458? We're trying to evaluate the impact on our users, but the release notes are a bit terse. > The vulnerability affects applications that open serialized content from user input. > SmtpTransport had the potential to create a harmful side-effect in its destructor should an untrusted value ever be deserialized. Anyone has an example on where/how this could be done?
# Apr 24th 2019, 07:40 COOurb because distinction doesn't recognize order
# Apr 24th 2019, 07:40 COOurb it doesn't work
# Apr 24th 2019, 07:40 COOurb nope
# Apr 24th 2019, 07:39 COOurb aha, thanx
# Apr 24th 2019, 07:21 conehead Sort by date and then apply an distinct for your value? https://book.cakephp.org/3.0/en/orm/query-builder.html#selecting-data
# Apr 24th 2019, 07:06 COOurb hwo to do it in query builder?
# Apr 24th 2019, 07:06 COOurb I need to select last (by date) entry from table for every velue of some field
# Apr 24th 2019, 07:03 ra7bi Yes i got it
# Apr 24th 2019, 07:03 conehead Oh and you wouldnt need the join table anymore
# Apr 24th 2019, 07:02 conehead Although it sounds like you could use hasMany as well. But then, the `photos` table would have to have the field `user_id`. Now as you configured it, photos may be "owned" by multiple users
# Apr 24th 2019, 07:00 ra7bi i had a problem with the type of relation , it must be `belongsToMany `