Comments (16)
Maybe the b/w function variables shouldn't have a COLOR_
prefix.
from testssl.sh.
Please consider including it.
from testssl.sh.
I removed the stars also from my code (ugly) that needs to be removed as well.
Then could you give me an example how that function would be called? I am
not quite sure about it.
Am 11/17/2014 09:57 PM, schrieb Viktor Szépe:
Please consider including it.
—
Reply to this email directly or view it on GitHub #27 (comment).
from testssl.sh.
colorfuncmaker()
generates functions like litegreen
or green
. So no modifications needed.
Look at the eval
lines!
from testssl.sh.
@szepeviktor : Sorry for keeping this open for so long.
Would you mind doing a PR?
from testssl.sh.
I am sorry. I'd like to contribute only one function.
The one above generates all these function: https://github.com/drwetter/testssl.sh/blob/master/testssl.sh#L256-L348
So your code gets shorter.
from testssl.sh.
generates all these function
Should I explain what this means?
from testssl.sh.
Ok, no problem.
Like the idea though, so I reopened it for others to volunteer.
from testssl.sh.
The PR is easy. You just delete the literally defined functions (for example pr_liteblueln
) and put this one in your code.
from testssl.sh.
You should also declare an array with all the colors.
declare -A COLORS=( [litegreen]='0\033[0;32m' [green]='2\033[0;32m' )
etc.
from testssl.sh.
removed the stars also from my code
So start should also be removed from this function.
from testssl.sh.
Am 07/23/2015 um 01:50 PM schrieb Viktor Szépe:
generates all these function
Should I explain what this means?
I got it, not sure whether the generated functions are kind of global then.
I assume they are, otherwise you wouldn't have suggested it.
from testssl.sh.
If they are not global, just make this function simply inline code.
from testssl.sh.
Thx!
from testssl.sh.
Needed to revert this.
Catch was the functions are being initiated at a fixed time instead of while calling.
Other solution needs to be found for this color_maker
from testssl.sh.
OK
from testssl.sh.
Related Issues (20)
- [BUG] openssl core dumps under Ubuntu 22.04 when specifying the network service name instead of the port HOT 16
- OpenSSL 1.0.2-bad (1.0.2k-dev) HOT 2
- Creation of tempdir assumes certain umasks HOT 1
- [BUG / possible BUG] ./testssl.sh: line 8757: 2+: syntax error: operand expected (error token is "+") HOT 2
- [BUG / possible BUG] Fatal error: URI comes last HOT 2
- Censys changing their ToS. Links affected? HOT 1
- [Feature] HTML report add option to report like on terminal (dark) HOT 3
- question of cert_chain_of_trust HOT 1
- [BUG] HSTS header parsing does not accept spaces between directives
- [BUG] MongoDB identification HOT 2
- [BUG] Secure client initiated renegotiation timing bug HOT 3
- Anybody know github.com/testssl ? HOT 1
- Your account github.com/testssl
- [Feature request] query + show HTTPS DNS record (RFC 9460) HOT 4
- [Feature request] DNS CAA records: support checking for Extensions for Account URI and ACME Method Binding (RFC 8657) HOT 2
- [Feature request] Test Ciphers against Curvces
- [Feature request] Change DH_groups finding delimiter
- [Feature request] Verify support for long CilentHello messages HOT 4
- Issue Severity List HOT 1
- Why is RSA+SHA1 in the "TLS 1.2 sig.algs offered" list HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from testssl.sh.