Add missing EOF LF
This commit is contained in:
@@ -483,4 +483,4 @@ int CmdrevengSearch(const char *Cmd) {
|
||||
|
||||
if (!found) PrintAndLogEx(FAILED, "\nno matches found\n");
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,4 +42,4 @@ extern int CmdFlashMemWipe(const char *Cmd);
|
||||
extern int CmdFlashMemInfo(const char *Cmd);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1315,4 +1315,4 @@ int CmdHF15(const char *Cmd) {
|
||||
int CmdHF15Help(const char *Cmd) {
|
||||
CmdsHelp(CommandTable15);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -176,4 +176,4 @@ int CmdHFEPA(const char *Cmd) {
|
||||
clearCommandBuffer();
|
||||
CmdsParse(CommandTable, Cmd);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -609,4 +609,4 @@ int CmdHFFelica(const char *Cmd) {
|
||||
int CmdHelp(const char *Cmd) {
|
||||
CmdsHelp(CommandTable);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,4 +24,4 @@
|
||||
extern int CmdHFFido(const char *Cmd);
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1317,4 +1317,4 @@ int CmdHFLegic(const char *Cmd) {
|
||||
int CmdHelp(const char *Cmd) {
|
||||
CmdsHelp(CommandTable);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1251,4 +1251,4 @@ uint64_t GetCrypto1ProbableKey(TAuthData *ad) {
|
||||
crypto1_get_lfsr(revstate, &key);
|
||||
crypto1_destroy(revstate);
|
||||
return key;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
static int CmdHelp(const char *Cmd);
|
||||
int CmdHF14AMfDESAuth(const char *Cmd);
|
||||
int CmdHFMFDesfire(const char *Cmd);
|
||||
int CmdHelp(const char *Cmd);
|
||||
int CmdHelp(const char *Cmd);
|
||||
|
||||
@@ -15,4 +15,4 @@
|
||||
extern int CmdHFMFP(const char *Cmd);
|
||||
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -74,4 +74,4 @@ int CmdRev(const char *Cmd) {
|
||||
//-----------------------------------------------------------------------------
|
||||
int CommandReceived(char *Cmd) {
|
||||
return CmdsParse(CommandTable, Cmd);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -193,4 +193,4 @@ int CmdScript(const char *Cmd) {
|
||||
int CmdHelp(const char *Cmd) {
|
||||
PrintAndLogEx(NORMAL, "This is a feature to run Lua-scripts. You can place lua-scripts within the scripts/-folder. ");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,4 +40,4 @@ extern int usage_sm_raw(void);
|
||||
extern int usage_sm_reader(void);
|
||||
extern int usage_sm_info(void);
|
||||
extern int usage_sm_upgrade(void);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -38,4 +38,4 @@ extern int JsonLoadBufAsHex(json_t *elm, char *path, uint8_t *data, size_t maxbu
|
||||
|
||||
extern bool ParamLoadFromJson(struct tlvdb *tlv);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -577,4 +577,4 @@ int main(int argc, char *argv[]) {
|
||||
free_part_sum_bitarrays();
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -692,4 +692,4 @@ int testElite() {
|
||||
errors += _test_iclass_key_permutation();
|
||||
errors += _testBruteforce();
|
||||
return errors;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -75,4 +75,4 @@ _errorcodes.tostring = function(command)
|
||||
end
|
||||
return ("Error, numeric or string argument expected, got : %s"):format(tostring(command))
|
||||
end
|
||||
return _errorcodes
|
||||
return _errorcodes
|
||||
|
||||
@@ -32,4 +32,4 @@ end
|
||||
|
||||
return {
|
||||
waitForTag = waitForTag,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -91,4 +91,4 @@ local PreCalc =
|
||||
return list
|
||||
end,
|
||||
}
|
||||
return PreCalc
|
||||
return PreCalc
|
||||
|
||||
@@ -155,4 +155,4 @@ local library = {
|
||||
ISO14B_COMMAND = ISO14B_COMMAND,
|
||||
}
|
||||
|
||||
return library
|
||||
return library
|
||||
|
||||
@@ -121,4 +121,4 @@ return {
|
||||
|
||||
return m[value] or "no tag-info available"
|
||||
end,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -427,4 +427,4 @@ local Utils =
|
||||
-- end
|
||||
|
||||
}
|
||||
return Utils
|
||||
return Utils
|
||||
|
||||
@@ -100,4 +100,4 @@ extern int detect_classic_prng(void);
|
||||
extern int detect_classic_nackbug(bool verbose);
|
||||
extern void detect_classic_magic(void);
|
||||
extern void mf_crypto1_decrypt(struct Crypto1State *pcs, uint8_t *data, int len, bool isEncrypted);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -21,7 +21,7 @@ class TestEmlMfd(unittest.TestCase):
|
||||
]
|
||||
def test_eml2mfd(self):
|
||||
self.three_argument_test(pm3_eml2mfd.main, self.EML2MFD_TESTCASES)
|
||||
|
||||
|
||||
def test_mfd2eml(self):
|
||||
self.three_argument_test(pm3_mfd2eml.main,
|
||||
imap(reversed, self.EML2MFD_TESTCASES), c14n=hex_c14n)
|
||||
|
||||
@@ -939,4 +939,4 @@ static void munpack(model_t *dest, const struct mpreset *src) {
|
||||
dest->flags = src->flags;
|
||||
/* link to the name as it is static */
|
||||
dest->name = (src->alias) ? src->alias->name : NULL;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,4 +19,4 @@ extern int scandir(const char *dir, struct dirent ***namelist, int (*select)(con
|
||||
extern int alphasort(const struct dirent **a, const struct dirent **b);
|
||||
#endif // _WIN32
|
||||
|
||||
#endif // SCANDIR_H__
|
||||
#endif // SCANDIR_H__
|
||||
|
||||
@@ -776,4 +776,4 @@ int set_pm3_libraries(lua_State *L) {
|
||||
strcat(libraries_path, LUA_LIBRARIES_WILDCARD);
|
||||
setLuaPath(L, libraries_path);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -538,4 +538,4 @@ function main(args)
|
||||
end
|
||||
|
||||
-- call main with arguments
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -297,4 +297,4 @@ local function main(args)
|
||||
core.console('hw ping')
|
||||
end
|
||||
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -173,4 +173,4 @@ local function main(args)
|
||||
dumptofile( keys )
|
||||
end
|
||||
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -175,4 +175,4 @@ local function main(args)
|
||||
print(string.format('PWD | %s', pwd))
|
||||
end
|
||||
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -194,4 +194,4 @@ local function main(args)
|
||||
dumptofile( keys )
|
||||
end
|
||||
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -273,4 +273,4 @@ if "--test"==args then
|
||||
else
|
||||
-- Call the main
|
||||
main(args)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -74,4 +74,4 @@ function main(args)
|
||||
end
|
||||
end
|
||||
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -57,4 +57,4 @@ local function main(args)
|
||||
ExitMsg(("Wrote a BIN dump to the file %s"):format(filename))
|
||||
end
|
||||
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -64,4 +64,4 @@ In the future, we may implement so that scripts are invoked directly
|
||||
into a 'main' function, instead of being executed blindly. For future
|
||||
compatibility, I have done so, but I invoke my main from here.
|
||||
--]]
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -213,4 +213,4 @@ local function main(args)
|
||||
end
|
||||
end
|
||||
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -15,4 +15,4 @@ local function main(args)
|
||||
end
|
||||
return
|
||||
end
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -62,4 +62,4 @@ In the future, we may implement so that scripts are invoked directly
|
||||
into a 'main' function, instead of being executed blindly. For future
|
||||
compatibility, I have done so, but I invoke my main from here.
|
||||
--]]
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -190,4 +190,4 @@ local function main(args)
|
||||
end
|
||||
end
|
||||
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -272,4 +272,4 @@ local function main(args)
|
||||
print('mfkeys - Total execution time: '..os.difftime(end_time, start_time)..' sec')
|
||||
end
|
||||
|
||||
main( args)
|
||||
main( args)
|
||||
|
||||
@@ -244,4 +244,4 @@ local function main( args)
|
||||
prlog(string.format("Dumped data into %s", filename))
|
||||
|
||||
end
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -380,4 +380,4 @@ local function main(args)
|
||||
write_tag(uid, t)
|
||||
end
|
||||
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -42,4 +42,4 @@ In the future, we may implement so that scripts are invoked directly
|
||||
into a 'main' function, instead of being executed blindly. For future
|
||||
compatibility, I have done so, but I invoke my main from here.
|
||||
--]]
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -137,4 +137,4 @@ local function main(args)
|
||||
test()
|
||||
print( string.rep('--',20) )
|
||||
end
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -137,4 +137,4 @@ local function main(args)
|
||||
test(7)
|
||||
print( string.rep('--',20) )
|
||||
end
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -282,4 +282,4 @@ local function main(args)
|
||||
|
||||
core.clearCommandBuffer()
|
||||
end
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -486,4 +486,4 @@ local function main(args)
|
||||
print('The simulation is now prepared.\n --> run \"hf mf sim u '..uid..'\" <--')
|
||||
end
|
||||
end
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -123,4 +123,4 @@ local function main(args)
|
||||
print( string.rep('--',20) )
|
||||
|
||||
end
|
||||
main(args)
|
||||
main(args)
|
||||
|
||||
@@ -173,4 +173,4 @@ if "--test"==args then
|
||||
else
|
||||
-- Call the main
|
||||
main(args)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -873,4 +873,4 @@ extern char *strmcopy(char *buf) {
|
||||
strcpy(str, buf);
|
||||
}
|
||||
return str;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -263,4 +263,4 @@ extern bool str_startswith(const char *s, const char *pre); // check for prefi
|
||||
extern void strcleanrn(char *buf, size_t len);
|
||||
extern void strcreplace(char *buf, size_t len, char from, char to);
|
||||
extern char *strmcopy(char *buf);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -16,4 +16,4 @@ void enableAppNap();
|
||||
void makeUnfocusable();
|
||||
void makeFocusable();
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user