n1073645

Results 6 comments of n1073645

Please could you provide more information about your bug.

The pad lines operation can be used to achieve this functionality. Example: https://gchq.github.io/CyberChef/#recipe=Subsection('%20%5C%5Cd%2B',true,true,false)Find_/_Replace(%7B'option':'Regex','string':'(%5C%5Cd%2B)'%7D,'$1%201',true,false,true,false)Sum('Space')Pad_lines('Start',1,'%20')&input=bWVzc2FnZSBHYW1lQWN0aW9uIHsKICAgIG9uZW9mIGFjdGlvbiB7CiAgICAgICAgQ2xpZW50UGxheWVyTW92ZSB1aW50MzIgY19wbGF5ZXJfbW92ZSA9IDA7CiAgICAgICAgU2VydmVyUGxheWVyTW92ZSBzX3BsYXllcl9tb3ZlID0gMTsKCiAgICAgICAgQ2xpZW50UGxheWVyVXBkYXRlIGNfcGxheWVyX3VwZGF0ZSA9IDI7CiAgICAgICAgU2VydmVyUGxheWVyVXBkYXRlIHNfcGxheWVyX3VwZGF0ZSA9IDM7CiAgICB9Cn0 Does this achieve the functionality you expected?

This functionality can also be achieved by using a lookbehind in your regex. https://gchq.github.io/CyberChef/#recipe=Subsection('(?%3C%3D%3D%20)%5C%5Cd%2B',true,true,false)ADD(%7B'option':'Decimal','string':'1'%7D)&input=bWVzc2FnZSBHYW1lQWN0aW9uIHsKICAgIG9uZW9mIGFjdGlvbiB7CiAgICAgICAgQ2xpZW50UGxheWVyTW92ZSB1aW50MzIgY19wbGF5ZXJfbW92ZSA9IDA7CiAgICAgICAgU2VydmVyUGxheWVyTW92ZSBzX3BsYXllcl9tb3ZlID0gMTsKCiAgICAgICAgQ2xpZW50UGxheWVyVXBkYXRlIGNfcGxheWVyX3VwZGF0ZSA9IDI7CiAgICAgICAgU2VydmVyUGxheWVyVXBkYXRlIHNfcGxheWVyX3VwZGF0ZSA9IDM7CiAgICB9Cn0

The only issue when using Pad Lines in that fashion is that you have to make sure that the Length field matches (or is a multiple of) the Length of...

It looks like you are trying to install/compile on Windows. In the compiling part of the [CyberChef Wiki](https://github.com/gchq/CyberChef/wiki/Getting-started#compiling), we detail that the main supported dev environments are Mac/Linux. While CyberChef...

This function is defined [here](https://github.com/gchq/CyberChef/blob/master/Gruntfile.js#L419). On Ubuntu, sed should be installed so I'd guess it cannot find the file it is trying to process. You could have a look at...