GNU General Public License v3.0

技术解读

以下内容由 GitRead 中文社区 编辑团队基于项目 README 与官方资料整理, 结合中文开发者的常见使用场景补充技术选型建议。具体以项目官方文档为准。

关于 GitHub 仓库 “arismelachroinos/lscript” 的深度技术分析

项目背景与痛点

背景

在现代软件开发中,脚本编写往往占据了不小的比重。无论是自动化运维任务、构建测试套件,还是日常开发中的辅助脚本,都离不开高效的脚本语言和工具。在这样的背景下,LAZY script 应运而生,旨在简化脚本编写的复杂性,提高开发者的生产力。

痛点

传统的脚本语言往往需要开发者投入大量精力进行语法学习和排错,尤其是在大型项目中,脚本的维护成本很高。此外,缺乏统一的风格和规范导致了脚本的可读性和可维护性急剧下降。为此,LAZY script 提供了一种轻量且易用的脚本语言,相比同类竞品,它更加关注用户的使用体验,从而实现效率提升。

核心技术揭秘

LAZY script 主要通过其简洁的语法和强大的功能实现用户需求。以下是技术实现的关键点分析:

技术栈

  • 语言解析:内部集成了一个轻量且高效的解析引擎,支持自定义语法。
  • 插件系统:支持动态加载插件,扩展功能模块,满足用户多样化需求。
  • 本地缓存:通过内置缓存机制,优化脚本执行速度,减少重复计算。

设计模式

  • 单例模式:核心编译器采用单例模式,确保全局配置一致性。
  • 责任链模式:脚本执行过程中,通过责任链模式依次处理各个语句,灵活调用。

数据流

架构图
graph TD A[用户定义脚本] --> B[解析模块] B --> C[编译模块] C --> D{"执行状态?"} D -->|"正常"| E[执行结果] D -->|"异常"| F[错误处理] E --> G[输出结果] F --> H[用户反馈错误]

数据流经过解析模块将原始脚本转换为可执行的中间代码,然后通过编译模块优化生成最终的执行代码,由执行组件启动任务。

功能亮点与差异

功能亮点

  • 简单易用:语法精简,学习成本低,上手快。
  • 可扩展性强:插件系统开放,可自定义脚本功能。
  • 运行高效:内置缓存机制,大幅降低脚本执行时间。

与竞品差异

与其他脚本语言相比,LAZY script 不仅在语法上更为流畅简洁,其内置插件系统和缓存机制为其带来了更大优势。传统竞品繁琐的配置流程在 LAZY script 中得到了有效简化,使得自动化任务得以更高效地执行。

应用场景与落地建议

应用场景

  • 自动化运维:在日常的系统维护工作中,可以编写脚本完成自动化的监控、备份等任务。
  • 测试构建:用于构建和执行测试套件,辅助持续集成流程。
  • 开发辅助:在开发过程中,开发辅助脚本解决常见问题,提高开发效率。

落地建议

  • 规范用法:避免过度依赖繁复的插件配置,维护简洁一致的脚本风格。
  • 扩展测试:对于依赖插件功能的场景,需在不同操作环境下进行充分的测试。
  • 性能监控:定期监控脚本执行时间,优化缓存策略以获得最佳性能。

综合评价

优点

  • 上手快、易学易用:轻量且简洁的语法为新手提供了快速入门的机会。
  • 高效且灵活:优化的执行引擎和插件系统提升了脚本运行效率与可扩展性。

缺点

  • 功能相对基础:虽然提供了插件扩展机制,但对比一些大型脚本语言,缺少一些高级功能。
  • 社区支持:作为一款小众工具,社区资源相对有限。

尽管存在一些局限性,但 LAZY script 仍然是一款具有独特设计理念的脚本工具,尤其适合追求简洁、高效需求的开发者和团队。

README

The lazy script has not been updated for a while due to me being very busy with my life. I will try my best to upload an update when I find the time

Welcome to the LAZY script v2.1.4

A video Hackersploit made : https://www.youtube.com/watch?v=oBpo5sElrMY

A video sstec made: https://www.youtube.com/watch?v=gSO7c2MN7TY

For feature-recommendation , add it on the “Issues” tab. NOW!

I AM NOT RESPONSIBLE HOW YOU USE THIS TOOL.BE LEGAL AND NOT STUPID.

This script will make your life easier, and of course faster.

Its not only for noobs.Its for whoever wants to type less and do actually more.

What is this

This is a script for Kali Linux that automates many procedures about wifi penetration and hacking. I actually made it for fun for me just to save some time, but i don’t mind publicing it.

Features

NEW FEATURE: Custom keyboard shortcuts!! Launch any tool within lscript , with your own shortcuts!!! (type ks to set your shortcuts)

Enabling-Disabling interfaces faster Changing Mac faster Anonymizing yourself faster View your public IP faster View your MAC faster

TOOLS

You can install whichever tool(s) you want from within lscript! 
Fluxion                         by Deltaxflux
WifiTe                          by derv82
Wifiphisher                     by George Chatzisofroniou
Zatacker                        by LawrenceThePentester
Morpheus                        by Pedro ubuntu  [ r00t-3xp10it ]
Osrframework                    by i3visio
Hakku                           by 4shadoww
Trity                           by Toxic-ig
Cupp                            by Muris Kurgas
Dracnmap                        by Edo -maland-
Fern Wifi Cracker               by Savio-code
Kichthemout                     by Nikolaos Kamarinakis & David Schütz
BeeLogger                       by Alisson Moretto - 4w4k3
Ghost-Phisher                   by Savio-code
Mdk3-master                     by Musket Developer
Anonsurf                        by Und3rf10w
The Eye                         by EgeBalci
Airgeddon                       by v1s1t0r1sh3r3
Xerxes                          by zanyarjamal
Ezsploit                        by rand0m1ze
Katana framework                by PowerScript
4nonimizer                      by Hackplayers
Sslstrip2                       by LeonardoNve
Dns2proxy                       by LeonardoNve
Pupy                            by n1nj4sec
Zirikatu                        by pasahitz
TheFatRat                       by Sceetsec
Angry IP Scanner                by Anton Keks
Sniper                          by 1N3
ReconDog                        by UltimateHackers
RED HAWK                        by Tuhinshubhra
Routersploit                    by Reverse shell
CHAOS                           by Tiagorlampert
Winpayloads                     by Ncc group 
Infoga                          by m4ll0k
nWatch                          by Suraj
Eternal scanner                 by Peterpt
Eaphammer                       by S0lst1c3
Dagon                           by Ekultek
LALIN                           by Screetsec
Ngrok                           by inconshreveable + more
Kwetza                          by Chris Le Roy
Bleachbit                       by Andrew Ziem
Operative framework             by Tristan Granier
Netattack2                      by Christian Klein
Findsploit                      by 1N3
Howdoi                          by Benjamin Gleitzman
Dr0p1t-Framework                by Karim Shoair
FakeImageExploiter              by r00t-3xp10it
Leviathan                       by Utku Sen, Ozge Barbaros
WiFi-Pumpkin                    by P0cL4bs
Avet                            by govolution
Meterpreter_Paranoid_Mode-SSL   by r00t-3xp10it
Koadic                          by zerosum0x0
Empire                          by Will Schroeder,
                                       Justin Warner, 
                                       Matt Nelson,
                                       Steve Borosh,
                                       Alex Rymdeko-harvey, 
                                       Chris Ross
Veil                            by ChrisTruncer
SecHub                          by JoshDelta
DKMC                            by Mr.Un1k0d3r RingZer0 Team
Demiguise                       by Richard Warren
UniByAv                         by Mr.Un1k0d3r RingZer0 Team
LFISuite                        by D35m0nd142
Faraday                         by Infobyte
MSFPC                           by g0tmi1k
NoSQLMap                        by codingo, tcsstool
Evil-Droid                      by Mascerano Bachir
Iftop                           by Paul Warren, Chris Lightfoot
MORE ARE BEING ADDED ON EVERY UPDATE

Wifi password scripts

Handshake       (WPA-WPA2)
Find WPS pin    (WPA-WPA2)
WEP hacking     (WEP)    

Others

Email spoofing
Metasploit automation (create payloads,listeners,save listeners for later etc...)
Auto eternalblue exploiting (check on ks) -> hidden shortcuts
Browser auto-expoiting with BeEF and MITMf
SQLmap automated
+more

How to install (Kali Linux)

(make sure you are a root user)

Official Installation Tutorial on Kali Linux 2020.5: https://youtu.be/xcb5uwP5nSU

Be carefull.If you download it as a .zip file, it will not run.Make sure to follow these simple instructions.

MADE FOR KALI LINUX

cd
apt-get update
git clone https://github.com/arismelachroinos/lscript.git
cd lscript
chmod +x install.sh
./install.sh

How to run it

(make sure you are a root user)

open terminal
type  "l"
press enter

(Not even “lazy”!! Just “l”! The less you type , the better!)

How to uninstall

cd /root/lscript
./uninstall.sh
rmdir -r /root/lscript 

How to update

Run the script
Type "update"

Shoutouts

OpenSource Projects

OpenSource Projects is a Facebook community page who’s goal is to give developers, new and old, a easy and simple place to share their opensource contributions and projects. I personally think this is an awesome idea, I know how hard it is to get your code noticed by people and support these guys 100%. Go ahead and give them a like here. They will share any opensource project you send them for free. Thank you OpenSource Projects for giving developers a place to share work with one another!

If you like my work, consider buying me a coffee :)

paypal

评论

暂无评论