#这是个用户输入ip和端口号动态生成反弹shell的模板。可以根据代码仿照自己加
#vue级联选择器
<el-cascader :options="options" :props="props" v-model="selectedOption" @change="handleChange" placeholder="Select a shell type and IP address" /> <el-input v-model="port" placeholder="Enter a port number" /> <el-button type="primary" @click="generateReverseShell">Generate Reverse Shell</el-button> <div v-if="generatedShell" style="margin-top: 20px;"> <p>Generated Reverse Shell:</p> 插值表达式动态显示<pre>{
{ generatedShell }}</pre> </div>
#script脚本
export default {
data() {
return {
options: [
{
value: ‘python’,
label: ‘Python’,
children: [
{
value: ‘python_tcp’,
label: ‘TCP’,
},
{
vue和cascader实现动态反弹shell模板
最新推荐文章于 2023-05-16 11:14:35 发布