Search Results

Search: Posts Made By: stomp
246
Posted By stomp
Even if it does not directly help in this case,...
Even if it does not directly help in this case, I'd like to mention Linux Audit, because it's really interesting:

One can audit all commands entered by anyone with these 2 rules:


auditctl -a...
1,505
Posted By stomp
Quoting is a pain in the ass if you try to do it...
Quoting is a pain in the ass if you try to do it in combination with ssh commands.

Some hints:


Perform the actual textprocessing locally if possible, like this: ssh remoteserver command |...
375
Posted By stomp
I understood that your scripting ambition has...
I understood that your scripting ambition has nothing or little to do with your security skills.

I wonder if you really have no task, you wish to automate. I had plenty of needs for this at any...
830
Posted By stomp
I had the same question some weeks ago. If you...
I had the same question some weeks ago. If you really want to restrict root from accessing certain files, SELinux is probably a working way to go. But the high complexity to configure this and the...
488
Posted By stomp
You may start qpv in background with & suffix: ...
You may start qpv in background with & suffix:

qpv someimage.png &
qpv_pid=$!

# do_something here ...

kill $qpv_pid
Forum: Web Development 3 Weeks Ago
450
Posted By stomp
I see no problem in testing dynamic values coming...
I see no problem in testing dynamic values coming from whatever source. As long as you can grab the data all is fine.

And since you have example data, the data is obviously there... . If it helps...
660
Posted By stomp
Your task is pretty basic. You will find a lot of...
Your task is pretty basic. You will find a lot of examples if you...

... search google for "perl read from stdin" ...
... read the documentation for the functions, e. g. perldoc -f split

I do...
Forum: What is on Your Mind? 4 Weeks Ago
1,014
Posted By stomp
Yes. Very frustrating. I'm already thinking...
Yes. Very frustrating.

I'm already thinking about that. My thoughts on that:

What is the motivation of answering without encouraging ?

Possibly positive feedback from the Requester and a...
Forum: What is on Your Mind? 4 Weeks Ago
1,014
Posted By stomp
Discussion culture
I want to start a small thread about discussion culture. From the past experience in different fora, I have little hope that any will come out of it. But I'll try it anyway, hoping to contributing to...
Forum: Programming 4 Weeks Ago
4,330
Posted By stomp
Hi, short notice from my side: For a...
Hi,

short notice from my side:

For a current project I decided to use Perl. The platforms are Linux / Red Hat 5/6/7/+future Versions. The reason I chose it, where:

Available on all target...
1,522
Posted By stomp
I just read that yq is not a standalone script,...
I just read that yq is not a standalone script, but does only a data transition from YAML to JSON and then feeds the data into jq with the user-given jq-expression and thus relies on jq to be...
625
Posted By stomp
If you have logrotation in place you may want to...
If you have logrotation in place you may want to know if a log-switch happened. I did this by checking if the first line of a file is still the same. (Hopefully it's not an empty line ;-) ) ... like...
1,522
Posted By stomp
[TIP] Processing YAML files with yq
After the success of the jq - tool for parsing and manipulating JSON-Data someone wrote a tool called yq, which aims to be the same for YAML, what jq is for JSON. Seems to work fine. I'll definitely...
720
Posted By stomp
Since HTML is very similar to XML, you may use an...
Since HTML is very similar to XML, you may use an xml tool to parse your file.

Since your HTML-File is not fully standards compliant, the parser complains about it and the file has either be...
4,070
Posted By stomp
Hello psy, as you saw in the last post from...
Hello psy,

as you saw in the last post from Chubler and me, that we have different views on what is the preferred choice of coding. I hope this causes not too much confusion for you.

Global And...
4,070
Posted By stomp
It's nearly the same code as yours: If $used_net...
It's nearly the same code as yours: If $used_net is "testnet" set btcopts to "-testnet" otherwise set to empty value. A shorthand if-construct.

The return value of a variable assignment is always...
4,070
Posted By stomp
Your code is correct and works here as you...
Your code is correct and works here as you described it should. So I assume the variable $used_net never is set to the correct "testnet" value.

Check the variable value directly before the shown...
Forum: Cybersecurity 09-27-2019
1,704
Posted By stomp
It maybe fail2ban is configured properly, up and...
It maybe fail2ban is configured properly, up and running. That will definitely explain a rate below average. But f2b can be running without being configured to do blocking at all or not correctly...
Forum: Cybersecurity 09-27-2019
1,704
Posted By stomp
Same from receiving side. I also only just had a...
Same from receiving side. I also only just had a very quick read on your post.

Instead of one car crashing into a wall two cars crashing frontal into each other with the same speed do square...
Forum: Cybersecurity 09-27-2019
1,704
Posted By stomp
@Neo: Thanks for rephrasing and clarifying your...
@Neo: Thanks for rephrasing and clarifying your request!

Here's a script which calculates the FLAPM value:


#!/bin/bash

exit_with_message() { echo "$*" ; exit 1 ;}

type lastb >/dev/null...
4,070
Posted By stomp
bitcoin-cli -testnet sendmany ""...
bitcoin-cli -testnet sendmany "" "{\"n1yswZYByRv3okGDHs1oDaevq8gsDaYZzC\":"0.079319635", \"2NFafKRugHFdYEib7xVfkT6bvtkUKK8oShZ\":"0.079319635"}" 6 "Payments" "[\"n1yswZYByRv3okGDHs1oDaevq8gsDaYZzC\",...
4,070
Posted By stomp
Hello Psy, I suggest for now to only check...
Hello Psy,

I suggest for now to only check if the JSON you want to generate is ok and only after having this 100% correct then go on to build the complete program call.

Regarding the...
4,070
Posted By stomp
A short comment on debugging: To check if a...
A short comment on debugging:

To check if a function does what it should do, the easiest method is to simply put the function in a small extra program, call it with some valid test data and just...
2,369
Posted By stomp
tar (child): compress: Cannot exec: No such file...
tar (child): compress: Cannot exec: No such file or directory

As the slightly irritating message states: the compress utility is not found. You have to install it.

In Ubuntu the corresponding...
4,070
Posted By stomp
The mentioned line is the trickiest thing of all....
The mentioned line is the trickiest thing of all.

You need to know what that eval is actually for. Eval adds an additional evaluation round(so I get from content of $i which may be the number "3"...
Showing results 1 to 25 of 400

 

Featured Tech Videos

All times are GMT -4. The time now is 08:48 PM.
Unix & Linux Forums Content Copyright 1993-2019. All Rights Reserved.
Privacy Policy