Edit & run on cpp.sh Mar 8, 2022 at 11:21am seaminusminus(11) Thanks again @ thmm --- here's the updated program: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 #include <iostream>usingnamespacestd;intmain() { string inputText;inti; getline(cin, in...
#include <iostream>#include <string>#include <fstream>usingnamespacestd;intmain() {intpoot[5]{0, 1, 2, 3, 4}; ofstream iambored("hello.txt");for(inti : poot) { iambored<<poot[i]; } iambored.close();return0; } Edit & run on cpp.sh ...
newValue2". The "type" field refers to the return type of the method. If it's an empty string, like in our case, then the method is declared as "void". The "tag" method is unused for the moment. I paste you the description found in the sources: "Tags are special macros ...
We can see that the argument will be in the s buffer. And, of course, it will execute the notepad or whatever we put as a string at the beginning of the buffer, (if the executable exists). With that, we have not only solved ABO4, we have also finished with ABOs and the stacks...
NTSTATUS ResolveFunctions(IN PSYSTEM_MODULE KernelInfo) { UNICODE_STRING PsGetProcessImageFileNameStr = { 0 }; UNICODE_STRING PsGetProcessSectionBaseAddressStr = { 0 }; #ifdef _M_IX86 CONST BYTE PsGetNextProcessSignature[] = { 0x8B, 0xFF, 0x55, 0x8B, 0xEC, 0x51, 0x83, 0x...
it took a bit of guessing to figure out the weird code il2cpp generates for array append/resize, but what it does is build a query string (might be unescaped, not sure yet) out of the form fields and then computes the sha1 of query_string:field_0x50 and returns the hash as a ...
string s1 ="Hello"; string s2 ="world!"; cout << s1 +' '+ s2 << endl; void is a "type" in the sense that it doesn't return anything. It's quite useful, especially for functions where you want to do something to something else, but (obviously) have no need or desire for a...
All of the code to read the data is hacky: read_float80.cpp contains Rcpp code to convert float80 to R double, and read_binary.R reads the data into R tibbles. A bunch of stuff (column names, the content of string columns, endianness) is hard-coded since I couldn't figure out ...