Commit 48d76ed
Support adding lists in
* Support adding lists in `ROP.raw()`
Allow to add multiple raw entries on a rop chain using an array instead of multiple calls to `raw()`.
```py
rop = ROP('/bin/ls')
# before
rop.raw(1)
rop.raw(2)
rop.raw(rop.ret)
# after
rop.raw([1, 2, rop.ret])
```
Fixes Gallopsled#2017
* Update CHANGELOG.md
* Update pwnlib/rop/rop.py
Co-authored-by: Arusekk <[email protected]>ROP.raw() (Gallopsled#2128)1 parent 838e9ec commit 48d76ed
1 file changed
+21
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1167 | 1167 | | |
1168 | 1168 | | |
1169 | 1169 | | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
1170 | 1179 | | |
1171 | 1180 | | |
1172 | 1181 | | |
1173 | 1182 | | |
1174 | 1183 | | |
1175 | 1184 | | |
1176 | 1185 | | |
| 1186 | + | |
| 1187 | + | |
| 1188 | + | |
1177 | 1189 | | |
1178 | | - | |
| 1190 | + | |
1179 | 1191 | | |
1180 | 1192 | | |
1181 | 1193 | | |
1182 | 1194 | | |
1183 | 1195 | | |
1184 | 1196 | | |
| 1197 | + | |
1185 | 1198 | | |
1186 | 1199 | | |
1187 | 1200 | | |
1188 | 1201 | | |
1189 | 1202 | | |
1190 | 1203 | | |
1191 | 1204 | | |
| 1205 | + | |
| 1206 | + | |
1192 | 1207 | | |
1193 | 1208 | | |
1194 | 1209 | | |
1195 | | - | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
1196 | 1215 | | |
1197 | 1216 | | |
1198 | 1217 | | |
| |||
0 commit comments