靶机下载 下载地址:https://download.vulnhub.com/meandmygirlfriend/Me-and-My-Girlfriend-1.ova 2.
登录页面和个人页面 sqlmap 跑了一下没跑出啥东西来,在 profile这里有个 id,改了之后能显示别人的信息
因为墙更高了, fqrouter 都用不了了,没办法,只能把之前的 ss 拿起来用了。 这次重新使用 python 版本的 ss。
运行说明 靶机名称:Me-and-My-Girlfriend-1 靶机难度:初学者/中级 目标:有两个flag,一个user-flag,一个root-flag 攻击机:kali linux,IP...地址192.168.153.139 靶机:Me-and-My-Girlfriend-1,IP地址192.168.153.147 ?
My Blog:Blog.CatGames.cn Blog Me and My Girlfriend 1—Writeup 环境:Vmware 14,Kali Linux 2019,VirtualBox...题目来自:https://www.vulnhub.com/entry/me-and-my-girlfriend-1,409/ OVF来自:https://drive.google.com/file/d
CTF-Web-我和我的女朋友 Me and My Girlfriend 1—Writeup Me and My Girlfriend 1—Writeup 环境:Vmware 14,Kali Linux...[vulnhub.com/entry/me\-and\-my\-girlfriend\-1,409/](http://vulnhub.com/entry/me-and-my-girlfriend-1,409
用BurpSuite代理浏览器流量,并为所有流量添加请求头:x-forwarded-for: localhost
girlFriend = new GirlFriend("new一个对象"); System.out.println(girlFriend); } 输出结果: GirlFriend(name=... = new GirlFriend("克隆一个对象"); GirlFriend girlFriend2 = (GirlFriend) girlFriend1.clone(); System.out.println...(); girlFriend.setName("类派发一个对象"); System.out.println(girlFriend); } 输出结果: GirlFriend(name=类派发一个对象... girlFriend = GirlFriend.class.getConstructor().newInstance(); girlFriend.setName("构造一个对象"); ...() throws IOException, ClassNotFoundException { GirlFriend girlFriend1 = new GirlFriend("反序列化一个对象
/** * new一个对象 */ @Test public void girlFriend1() { GirlFriend girlFriend = new GirlFriend("new一个对象...现在克隆一个对象: @Test public void girlFriend2() throws CloneNotSupportedException { GirlFriend girlFriend1...= new GirlFriend("克隆一个对象"); GirlFriend girlFriend2 = (GirlFriend) girlFriend1.clone(); System.out.println..., IllegalAccessException { GirlFriend girlFriend = GirlFriend.class.newInstance(); girlFriend.setName..., ClassNotFoundException { GirlFriend girlFriend = (GirlFriend) Class.forName("cn.javastack.test.jdk.core.GirlFriend
public static void main(String[] args) { GirlFriend girlFriend = new GirlFriend("小丽"); girlFriend.smile...更新后的代码如下: public class GirlFriend { private static GirlFriend girlFriend; private String name...getInstance(String name) { if(girlFriend == null) { girlFriend = new GirlFriend(...girlFriend = GirlFriend.getInstance("小丽"); girlFriend.smile(); girlFriend.housework(); girlFriend.buKeMiaoShu...不能控制对象的数量,我们完全可以声明多个对象,比如:GirlFriend girlFriend1;GirlFriend girlFriend2;GirlFriend girlFriend3。
public static void main(String[] args) { GirlFriend myGirlFriend = new GirlFriend();...public static void main(String[] args) { GirlFriend myGirlFriend = new GirlFriend();....with(GirlFriend::setMobile, "18688888888") .with(GirlFriend::setEmail, "pretty-xiaomei...@qq.com") .with(GirlFriend::setHairColor, "浅棕色带点微卷") .with(GirlFriend...::addHobby, "逛街") .with(GirlFriend::addHobby, "购物") .with(GirlFriend:
//1、使用关键字new创建对象(没有参数调用无参构造、传入参数调用带参构造) Girlfriend girlfriend01 = new Girlfriend(); Girlfriend girlfriend02...girlfriend01 = new Girlfriend(); Girlfriend girlfriend02 = new Girlfriend("y", 18);...//2、使用反射机制创建对象,使用Class的newInstance()调用默认的无参构造 Girlfriend girlfriend03 = Girlfriend.class.newInstance...> constructor = p1.getConstructor(String.class, Integer.class); Girlfriend girlfriend04 = (Girlfriend...clone方法 Girlfriend girlfriendClone = (Girlfriend) girlfriend04.clone(); System.out.println
public static void main(String[] args) { GirlFriend myGirlFriend = new GirlFriend(); myGirlFriend.setName...myGirlFriend = Builder.of(GirlFriend::new) .with(GirlFriend::setName, "小美") .with(GirlFriend...::setAge, 18) .with(GirlFriend::setVitalStatistics, 33, 23, 33) .with(GirlFriend::setBirthday...") .with(GirlFriend::addHobby, "逛街") .with(GirlFriend::addHobby, "购物") .with(GirlFriend::...addHobby, "买东西") .with(GirlFriend::addGift, "情人节礼物", "LBR 1912女王时代") .with(GirlFriend::addGift
情景: 现在有如图两个表,boy和girl,对应着Boy和Girl两个bean,有共同字段id、name,另外boy还有个外键grilfriend(指向girl的id) 现在要查询所有的Boy,如果有girlfriend...;” 问题: 因为有的boy有girlfriend,有的boy没有girlfriend,所以那些没有girlfriend的boy就不能跟girl表关联起来了 这样子查询只能查询出有girlfriend的...boy 解决方案: UNION将SQL改成如下: “SELECT b.name,g.name FROM boy b, girl g WHERE (b.girlfriend=g.id) and (isnull...(b.girlfriend)=0) UNION b.name,”null” from boy b where isnull(b.girlfriend)=1;” 利用组合查询 先判断boy.girlfriend...JOIN girl ON girl.id=boy.girlfriend;” 联合查询 总结 用JOIN的效率比用UNION要高,因为UNION相当于查询两次,JOIN是SELECT的时候先判断一下
定义方式:{}内用逗号隔开多个元素,元素只能是不可变类型(整形、浮点型字符串),且有两个特点: 1、会删除重复的值 2、会打乱集合内的值 wenyi_girlfriend_set = {'fanping...)) 6 成员运算 in 和 not in print('fanping'in wenyi_girlfriend_set) True 并集 内置=.union 快捷符号=“|” (两个集合的汇总,必考)...print(wenyi_girlfriend_set.union(zhuping_jiyou_set)) print(wenyi_girlfriend_set | (zhuping_jiyou_set...(zhuping_jiyou_set)) print(wenyi_girlfriend_set & (zhuping_jiyou_set)) {'fanping'} {'fanping'} 差集 内置=...、issubset print(wenyi_girlfriend_set < zhuping_jiyou_set) print(wenyi_girlfriend_set.issubset(zhuping_jiyou_set
girlFriend = null; girlFriend = (GirlFriend) super.clone(); return girlFriend; } } 修改 Person 类...getGirlFriend() { return girlFriend; } public void setGirlFriend(GirlFriend girlFriend) { this.girlFriend...+",age="+this.age+",girlFriend={name="+girlFriend.getName()+",height="+girlFriend.getHeight()+"}}";...getGirlFriend() { return girlFriend; } public void setGirlFriend(GirlFriend girlFriend) { this.girlFriend...+",age="+this.age+",girlFriend={name="+girlFriend.getName()+",height="+girlFriend.getHeight()+"}}";
// 利用Unsafe实例构造GirlFriends对象 Girlfriend girlfriend1 = (Girlfriend) unsafe1.allocateInstance(Girlfriend.class...); Girlfriend girlfriend2 = (Girlfriend) unsafe2.allocateInstance(Girlfriend.class); girlfriend1....setName("小芳1"); girlfriend2.setName("小芳2"); System.out.println(girlfriend1.getName()); System.out.println...); // 修改成员变量name的值 unsafe1.putObject(girlfriend1, l, "小红"); System.out.println(girlfriend1.getName...unsafe1.compareAndSwapInt(girlfriend1, l1, 20, 18); System.out.println("修改后年龄: " +girlfriend1.getAge(
public static void main(String[] args) { GirlFriend myGirlFriend = new GirlFriend();...public static void main(String[] args) { GirlFriend myGirlFriend = new GirlFriend();...public static void main(String[] args) { GirlFriend myGirlFriend = new GirlFriend();...@qq.com") .with(GirlFriend::setHairColor, "浅棕色带点微卷") .with(GirlFriend...::addHobby, "逛街") .with(GirlFriend::addHobby, "购物") .with(GirlFriend:
注意每次打开vs code启用都要Ctrl + Shift + P,点击Enable Rainbow Fart
领取专属 10元无门槛券
手把手带您无忧上云