Comments (3)
I prefer a new implementation of getnet. The code is very complex I fear to destruct the function if I try to fix only the shellcheck warnings.
I consider to implement parts in awk (mawk and POSIX awk compatible) because in awk is a powerfull language. A pure shell script could also an option. If a good shell code becomes to hard a perl script and a python script could be a fallback; better to support systems with perl or python than supporting no system. Today I have not a conclusion.
Likely an implementation with several helper functions, e.g. a ipconfig/ip link wrapper, will be a good solution. Also ipcalc/other solution is a candidate for a wrapper function.
In the mean time we could create a branch, named getnet_rework or simlar, with the getnet function and with "getnet() { echo 'comming soon back' }" in the master branch.
from orc.
I think a new branch for a rework is an excellent idea; just created one. I'll remove getnet from master when I get the chance. Having collaboration on getnet this time will hopefully mean the code won't be so complex and bad!
from orc.
Getnet clutter removed! now to develop something better
from orc.
Related Issues (20)
- getidle fails due to awk error HOT 6
- Compatability HOT 4
- More sysinfo on launch HOT 1
- LUKS/disk crypto HOT 1
- Fix bug in hangup HOT 5
- Wiki editing and adding docs HOT 4
- LPE Suggester HOT 1
- Sourcing remote bash scripts HOT 2
- Choosing a license HOT 1
- LDAP tricks HOT 1
- Credential dumping from memory
- proxy or additional gateway support HOT 8
- Shellcheck... HOT 1
- getnet rework discussion HOT 1
- find setuid/setcap bins? HOT 2
- Use "ip a" instead of "ifconfig" HOT 2
- Shellcode Execution HOT 1
- no-memfd in-memory elf execution (extends #79)
- checks from THC "whatserver" script.
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 orc.